Horisontal- and Vertical stacklayout and Flexlayout
This commit is contained in:
@ -4,8 +4,8 @@
|
||||
x:Class="AdventureWorks.MAUI.MainPage"
|
||||
Title="Home">
|
||||
|
||||
<Grid RowDefinitions="Auto, Auto, Auto,Auto, Auto, Auto , Auto"
|
||||
ColumnDefinitions="Auto, *"
|
||||
<Grid RowDefinitions="Auto,Auto,Auto, Auto, Auto,Auto, Auto, Auto , Auto"
|
||||
ColumnDefinitions="Auto, *"
|
||||
ColumnSpacing="10"
|
||||
RowSpacing="10"
|
||||
Margin="10"
|
||||
@ -26,6 +26,13 @@
|
||||
Color="Black" />
|
||||
<Label Grid.Row="3"
|
||||
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"
|
||||
Grid.Column="1"
|
||||
Text=""/>
|
||||
@ -44,6 +51,33 @@
|
||||
<Entry Grid.Row="6"
|
||||
Grid.Column="1"
|
||||
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>
|
||||
|
||||
</ContentPage>
|
||||
|
||||
Reference in New Issue
Block a user