company logo

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

Enumerator details

  1. SIZE_undefined - Undefined sizing type
    Code: 0
    to list
  2. 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
  3. 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
  4. 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
  5. 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