Box-Layout
Das Box-Layout ist ein einfaches Layout mit nur einem Inhaltselement. Höhe, Breite, Rahmen, Margin und Padding können nur für das Box-Layout festgelegt werden.
Das Element <BoxLayout>
erzeugt ein Box-Layout.
Weitere Informationen finden Sie im Abschnitt
Beispiel - BoxLayout in Kombination mit FlowLayout
XML
<DetailComponent
default="true"
displayName="Dashboard"
path="Dashboard">
<BoxLayout
background="50"
foreground="A100">
<FlowLayout>
<BoxLayout
background="100"
height="50"
units="pixels">
<Label value="Hello World" />
</BoxLayout>
<BoxLayout
background="10"
height="150"
units="pixels"
horizontalAlign="center">
<Label value="Bye World" />
</BoxLayout>
</FlowLayout>
</BoxLayout>
</DetailComponent>
Desktop-Ansicht