|
8 | 8 | xmlns:controls="https://nalu-development.github.com/nalu/controls" |
9 | 9 | x:Class="Nalu.Maui.Sample.Pages.TwoPage" |
10 | 10 | x:DataType="pageModels:TwoPageModel" |
11 | | - Title="Page Two" |
12 | | - Padding="16"> |
| 11 | + Title="Page Two"> |
13 | 12 | <ContentPage.Content> |
14 | | - <VerticalStackLayout Spacing="16"> |
15 | | - <Label Text="Page Two" FontSize="Title" Margin="0,16" /> |
16 | | - <Label> |
17 | | - <Label.FormattedText> |
18 | | - <FormattedString> |
19 | | - <Span Text="Instance: " /> |
20 | | - <Span Text="{Binding InstanceCount}" /> |
21 | | - </FormattedString> |
22 | | - </Label.FormattedText> |
23 | | - </Label> |
24 | | - <Button Command="{Binding PushSixCommand}" |
25 | | - Text="Push Six" /> |
26 | | - <Button Command="{nalu:NavigateCommand}" |
27 | | - Text="Push Six Via XAML"> |
28 | | - <Button.CommandParameter> |
29 | | - <nalu:RelativeNavigation> |
30 | | - <nalu:NavigationSegment Type="pages:SixPage" /> |
31 | | - </nalu:RelativeNavigation> |
32 | | - </Button.CommandParameter> |
33 | | - </Button> |
| 13 | + <ScrollView> |
| 14 | + <VerticalStackLayout Spacing="16" Padding="16"> |
| 15 | + <Label Text="Page Two" FontSize="Title" Margin="0,16" /> |
| 16 | + <Label> |
| 17 | + <Label.FormattedText> |
| 18 | + <FormattedString> |
| 19 | + <Span Text="Instance: " /> |
| 20 | + <Span Text="{Binding InstanceCount}" /> |
| 21 | + </FormattedString> |
| 22 | + </Label.FormattedText> |
| 23 | + </Label> |
| 24 | + <Button Command="{Binding PushSixCommand}" |
| 25 | + Text="Push Six" /> |
| 26 | + <Button Command="{nalu:NavigateCommand}" |
| 27 | + Text="Push Six Via XAML"> |
| 28 | + <Button.CommandParameter> |
| 29 | + <nalu:RelativeNavigation> |
| 30 | + <nalu:NavigationSegment Type="pages:SixPage" /> |
| 31 | + </nalu:RelativeNavigation> |
| 32 | + </Button.CommandParameter> |
| 33 | + </Button> |
34 | 34 |
|
35 | | - <Grid> |
36 | | - <controls:DurationWheel x:Name="DurationWheel" |
37 | | - Duration="{Binding Duration}" /> |
38 | | - <Label HorizontalOptions="Center" |
39 | | - VerticalOptions="Center" |
40 | | - FontSize="24" |
41 | | - InputTransparent="True" |
42 | | - Text="{Binding DurationText}" /> |
43 | | - </Grid> |
44 | | - </VerticalStackLayout> |
| 35 | + <Grid> |
| 36 | + <controls:DurationWheel x:Name="DurationWheel" |
| 37 | + Duration="{Binding Duration}" /> |
| 38 | + <Label HorizontalOptions="Center" |
| 39 | + VerticalOptions="Center" |
| 40 | + FontSize="24" |
| 41 | + InputTransparent="True" |
| 42 | + Text="{Binding DurationText}" /> |
| 43 | + </Grid> |
| 44 | + </VerticalStackLayout> |
| 45 | + </ScrollView> |
45 | 46 | </ContentPage.Content> |
46 | 47 | </ContentPage> |
0 commit comments