Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Alle GUI-Komponenten werden horizontal nebeneinander im Parent-Container angeordnet.

...

All GUI components are arranged horizontally, side by side, in the parent container.

  1. Create a new view without layout. 
  2. Drag an XdevHorizontalLayout from the Palette and drop it in the View.
  3. Add four XdevButtons one by one to the XdevHorizontalLayout.

Image Modified

Layout-Optionen

  • Align - Die UI-Komponente wird an den festgelegten Rand ihrer Zelle angedockt oder zentriert.   The UI component is docked to the specified border of the cell or centered

Image Modified

Image Modified

  • Weight - Die Zelle in der sich die UI-Komponente befindet, nimmt den gesamten, in der Breite verfügbaren Platz ein. Falls mehrere UI-Komponenten diese Eigenschaft besitzen, wird der verfügbare Platz je nach angegebener Gewichtung verhältnismäßig aufgeteilt The cell that contains the UI component takes up all the available horizontal space. If several UI components have this property, the available space is divided according to the specified weight.

Image Modified

Image Modified

  • Width 

Image Modified

    • ? -

...

    •  The width of the UI component is automatically defined by its content.  
    • px -

...

    •  The width of the UI component is defined in pixels
    • ? -

...

    • The UI component spans over the entire available cell width.
  • Height

Image Modified

    • ? -

...

    •  The height of the UI component is automatically defined by its content.  
    • px -

...

    •  The height of the UI component is defined in pixels
    • ? -

...

    • The UI component spans over the entire available cell height.
  • Quick Settings

Image Modified

  • Don´t Stretch - Die Breite der UI-Komponente wird automatisch durch ihren Content definiert- The width of the UI component is automatically defined by its content
  • Stretch Horizontally
       Setzt für die UI-Komponente eine horizontale Gewichtung
    • Assigns a horizontal weight to the UI component (Weight).
    • Setzt für die UI-Komponente die Einstellung Width auf %Sets the  Width setting of the UI component to %

...


All XdevHorizontalLayout

...

Methods