Correction quelques erreurs page connexion ajout grid, ajout du style dans connexion, et ajout style commun boutons

master
Céleste BARBOSA 1 year ago
parent ab9a076ae6
commit 00149b98f7

@ -4,18 +4,28 @@
xmlns:Views="clr-namespace:mastermind.Views"
x:Class="mastermind.Pages.ConnexionPage"
Title="Connexion">
<VerticalStackLayout>
<Grid
ColumnDefinitions="*"
RowDefinitions="*, auto, *">
<Label
VerticalOptions="Center"
Text="JOUEURS"
HorizontalOptions="Center"
FontSize="Header"
Margin="0, 0, 0, 50"/>
<VerticalStackLayout
Grid.Row="1"
VerticalOptions="Center">
<Views:UsernameEntryView/>
<Views:UsernameEntryView/>
</VerticalStackLayout>
<Button
Text="Se connecter"
Margin="200, 100, 200, 0"/>
</VerticalStackLayout>
VerticalOptions="Center"
Grid.Row="2"
Text="Se connecter"/>
</Grid>
</ContentPage>

@ -16,9 +16,14 @@
<Style TargetType="Button">
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Diego}, Dark={StaticResource Peche}}"/>
<Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource Pomme}, Dark={StaticResource Bordeaux}}" />
<Setter Property="FontSize" Value="Large"/>
<Setter Property="HeightRequest" Value="80"/>
<Setter Property="Margin" Value="200, 0"/>
</Style>
<Style TargetType="Entry">
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Diego}, Dark={StaticResource Peche}}"/>
</Style>

Loading…
Cancel
Save