Skip to content

Commit 8854dda

Browse files
committed
Update other sample app page
1 parent 8f417cc commit 8854dda

File tree

1 file changed

+33
-32
lines changed

1 file changed

+33
-32
lines changed

Samples/Nalu.Maui.Sample/Pages/TwoPage.xaml

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -8,39 +8,40 @@
88
xmlns:controls="https://nalu-development.github.com/nalu/controls"
99
x:Class="Nalu.Maui.Sample.Pages.TwoPage"
1010
x:DataType="pageModels:TwoPageModel"
11-
Title="Page Two"
12-
Padding="16">
11+
Title="Page Two">
1312
<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>
3434

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>
4546
</ContentPage.Content>
4647
</ContentPage>

0 commit comments

Comments
 (0)