|
26 | 26 | IsVisible="{Binding GameStatus, Mode=OneWay, Converter={StaticResource GameStatusVisibleConverter}, ConverterParameter=Start}"> |
27 | 27 | <VerticalStackLayout |
28 | 28 | FlexLayout.Basis="500" |
29 | | - FlexLayout.Grow="2"> |
30 | | - <Label |
31 | | - VerticalTextAlignment="Center" |
32 | | - Text="Enter your Gamername" |
33 | | - FontSize="Header" /> |
| 29 | + Padding="5,0" |
| 30 | + FlexLayout.Grow="2" |
| 31 | + Spacing="5"> |
| 32 | + <Label Text="Enter your player name" /> |
34 | 33 | <Entry |
35 | 34 | IsEnabled="{Binding IsNameEnterable, Mode=OneWay}" |
36 | 35 | Text="{Binding Name, Mode=TwoWay }" |
37 | | - Placeholder="Enter your name"/> |
| 36 | + Placeholder="Enter your player name"/> |
38 | 37 | </VerticalStackLayout> |
39 | | - <Grid |
| 38 | + <Grid |
40 | 39 | FlexLayout.Basis="300" |
41 | 40 | FlexLayout.Grow="1" |
42 | 41 | Margin="0,5,0,0" |
| 42 | + Padding="5,0" |
43 | 43 | ColumnDefinitions="*, auto" |
44 | 44 | MinimumWidthRequest="250" |
45 | 45 | IsVisible="{Binding GameStatus, Mode=OneWay, Converter={StaticResource GameStatusVisibleConverter}, ConverterParameter=Start}"> |
|
57 | 57 | </Grid> |
58 | 58 | </FlexLayout> |
59 | 59 |
|
60 | | - <FlexLayout |
| 60 | + <components:PegSelectionView |
61 | 61 | Grid.Row="1" |
62 | 62 | MaximumWidthRequest="700" |
63 | | - IsVisible="{Binding GameStatus, Mode=OneWay, Converter={StaticResource GameStatusVisibleConverter}, ConverterParameter=Cancelable}" |
64 | | - Wrap="Wrap" |
65 | | - JustifyContent="Center" |
66 | | - AlignItems="Center"> |
67 | | - <components:PegSelectionView /> |
68 | | - <Grid |
69 | | - FlexLayout.Basis="200" |
70 | | - FlexLayout.Grow="1" |
71 | | - ColumnDefinitions="*, auto" |
72 | | - Padding="0,10" |
73 | | - MinimumWidthRequest="250"> |
74 | | - <Button |
75 | | - Grid.Column="0" |
76 | | - Text="Move" |
77 | | - MinimumWidthRequest="150" |
78 | | - IsVisible="{Binding GameStatus, Mode=OneWay, Converter={StaticResource GameStatusVisibleConverter}, ConverterParameter=Cancelable}" |
79 | | - Command="{Binding SetMoveCommand, Mode=OneTime}" /> |
80 | | - <ActivityIndicator |
81 | | - Grid.Column="1" |
82 | | - Margin="15,0,0,0" |
83 | | - IsVisible="{Binding InProgress, Mode=OneWay}" |
84 | | - IsRunning="True" |
85 | | - VerticalOptions="Center" /> |
86 | | - </Grid> |
87 | | - </FlexLayout> |
88 | | - |
89 | | - <ScrollView Grid.Row="2" Padding="0,0,0,15" x:Name="pegScrollView" HorizontalOptions="CenterAndExpand"> |
| 63 | + IsVisible="{Binding GameStatus, Mode=OneWay, Converter={StaticResource GameStatusVisibleConverter}, ConverterParameter=Cancelable}"/> |
| 64 | + |
| 65 | + <ScrollView Grid.Row="2" Padding="0,15,0,15" x:Name="pegScrollView" HorizontalOptions="CenterAndExpand"> |
90 | 66 | <ListView |
91 | 67 | x:Name="test" |
92 | 68 | HorizontalOptions="FillAndExpand" |
|
0 commit comments