Skip to content

Commit 5e96dc1

Browse files
committed
Added label for color selection and adapted spacing/margin
1 parent 2400ff5 commit 5e96dc1

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/Codebreaker.MAUI/Views/Components/PegSelectionView.xaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@
1212
<ContentView.Resources>
1313
<conv:DictionaryToValuesConverter x:Key="DictionaryToValuesConverter" />
1414
</ContentView.Resources>
15-
<HorizontalStackLayout Margin="10,0"
16-
BindableLayout.ItemsSource="{Binding Path=Fields, Mode=OneWay}">
15+
<VerticalStackLayout>
16+
<Label Text="Select your colors" FontSize="Header" />
17+
<HorizontalStackLayout
18+
BindableLayout.ItemsSource="{Binding Path=Fields, Mode=OneWay}"
19+
Spacing="4">
1720
<BindableLayout.ItemTemplate>
1821
<DataTemplate>
1922
<Picker
@@ -29,4 +32,5 @@
2932
</DataTemplate>
3033
</BindableLayout.ItemTemplate>
3134
</HorizontalStackLayout>
35+
</VerticalStackLayout>
3236
</ContentView>

0 commit comments

Comments
 (0)