Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Sets the auto resizing mask.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
AVPlayer | 10.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example |
---|---|---|
AVPlayer | The reference number of the player. | $Player |
Value | The new setting. | 4+8 |
Returns OK or error.
Name | Value | Description |
NotSizable | 0 | The view cannot be resized. |
MinXMargin | 1 | The left margin between the view and its superview is flexible. |
WidthSizable | 2 | The view’s width is flexible. |
MaxXMargin | 4 | The right margin between the view and its superview is flexible. |
MinYMargin | 8 | The bottom margin between the view and its superview is flexible. |
HeightSizable | 16 | The view’s height is flexible. |
MaxYMargin | 32 | The top margin between the view and its superview is flexible. |
Set autoresize, so the control stays where it is:
Set Variable [ $r ; Value: MBS( "AVPlayer.SetAutoResizingMask"; $$Player; 4+8 ) ]
Created 12nd March 2020, last changed 12nd March 2020
AVPlayer.ReleaseAll - AVPlayer.SetControlsStyle
Feedback: Report problem or ask question.