Horisontal- and Vertical stacklayout and Flexlayout
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
x:Class="AdventureWorks.MAUI.MainPage"
|
x:Class="AdventureWorks.MAUI.MainPage"
|
||||||
Title="Home">
|
Title="Home">
|
||||||
|
|
||||||
<Grid RowDefinitions="Auto, Auto, Auto,Auto, Auto, Auto , Auto"
|
<Grid RowDefinitions="Auto,Auto,Auto, Auto, Auto,Auto, Auto, Auto , Auto"
|
||||||
ColumnDefinitions="Auto, *"
|
ColumnDefinitions="Auto, *"
|
||||||
ColumnSpacing="10"
|
ColumnSpacing="10"
|
||||||
RowSpacing="10"
|
RowSpacing="10"
|
||||||
@ -26,6 +26,13 @@
|
|||||||
Color="Black" />
|
Color="Black" />
|
||||||
<Label Grid.Row="3"
|
<Label Grid.Row="3"
|
||||||
Text="Login ID" />
|
Text="Login ID" />
|
||||||
|
<VerticalStackLayout Grid.Row="3"
|
||||||
|
Grid.Column="1">
|
||||||
|
<Entry Text=""
|
||||||
|
Placeholder="Please use a combination of letters and numbers."/>
|
||||||
|
<Label FontSize="Micro"
|
||||||
|
Text="Please use a combination of letters and numbers." />
|
||||||
|
</VerticalStackLayout>
|
||||||
<Entry Grid.Row="3"
|
<Entry Grid.Row="3"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Text=""/>
|
Text=""/>
|
||||||
@ -44,6 +51,33 @@
|
|||||||
<Entry Grid.Row="6"
|
<Entry Grid.Row="6"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Text=""/>
|
Text=""/>
|
||||||
|
<FlexLayout Grid.Row="7"
|
||||||
|
Grid.Column="1"
|
||||||
|
Wrap="Wrap"
|
||||||
|
Direction="Row">
|
||||||
|
<HorizontalStackLayout Spacing="5">
|
||||||
|
<Label Text="401k?"/>
|
||||||
|
<CheckBox IsChecked="True"/>
|
||||||
|
</HorizontalStackLayout>
|
||||||
|
<HorizontalStackLayout Spacing="5">
|
||||||
|
<Label Text="Flex Time?"/>
|
||||||
|
<CheckBox IsChecked="False"/>
|
||||||
|
</HorizontalStackLayout>
|
||||||
|
<HorizontalStackLayout Spacing="5">
|
||||||
|
<Label Text="Health Care?"/>
|
||||||
|
<CheckBox IsChecked="True"/>
|
||||||
|
</HorizontalStackLayout>
|
||||||
|
<HorizontalStackLayout Spacing="5">
|
||||||
|
<Label Text="Health Savings Account?"/>
|
||||||
|
<CheckBox IsChecked="True"/>
|
||||||
|
</HorizontalStackLayout>
|
||||||
|
</FlexLayout>
|
||||||
|
<HorizontalStackLayout Grid.Row="8"
|
||||||
|
Grid.Column="1"
|
||||||
|
Spacing="5">
|
||||||
|
<Button Text="Save" />
|
||||||
|
<Button Text="Cancel" />
|
||||||
|
</HorizontalStackLayout>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
</ContentPage>
|
</ContentPage>
|
||||||
|
|||||||
Reference in New Issue
Block a user