ADK_SizeType - Sizing type
Sizing types are used in order to describe the behavior of GUI elements in grid controls. GUI elements not having a grid control as parent will assume SIZE_Fixed , always.
Enumarators overview
- SIZE_Fixed
(1) - Size cannot change
- SIZE_Grow
(3) - Dynamic size
- SIZE_Maximum
(4) - Maximum size
- SIZE_Minimum
(2) - Minimum size
- SIZE_undefined
(0) - Undefined sizing type
Enumerator details
-
SIZE_Fixed - Size cannot change
In order to keep the size once defined for the GUI element, SIZE_Fixed type should be selected. In this case, the control will not change its size, when the parent size changes.
Code: 1
to list -
SIZE_Minimum - Minimum size
When selecting SIZE_Minimum , the size defined in a context GUI element definition ( ADK_Field , ADK_Toolbar , ADK_Button ) is the minimum size for the GUI element. This allows overwriting the minimum size defined in a related field control.
Code: 2
to list -
SIZE_Grow - Dynamic size
Choosing SIZE_Grow , dynamically changes the size for the GUI element, when the parent control changes its size. The GUI element may shrink, when the minimum size defined in the related field control ( ADK_FieldControl ) is less than the size when opening the GUI element.
Code: 3
to list -
SIZE_Maximum - Maximum size
The size defined in the context definition ( ADK_Field , ADK_Toolbar , ADK_Button ) is the maximum size. The GUI element will not grow above this size. The minimum to which the control may shrink, is the size defined in a related field control ( ADK_FieldControl ).
Code: 4
to list