Modification de la vue pour le compte

UI_Windows
Raphael LACOTE 2 years ago
parent 61b29d5a36
commit 0f0877191f

@ -8,7 +8,7 @@
Shell.NavBarIsVisible="False"> Shell.NavBarIsVisible="False">
<ShellContent <ShellContent
ContentTemplate="{DataTemplate local:Compte}" ContentTemplate="{DataTemplate local:MainPage}"
Route="Inscription" /> Route="Inscription" />
</Shell> </Shell>

@ -4,27 +4,39 @@
x:Class="IHM.Desktop.Compte" x:Class="IHM.Desktop.Compte"
Title="Compte" Title="Compte"
BackgroundColor="{StaticResource Yellow300Accent}"> BackgroundColor="{StaticResource Yellow300Accent}">
<StackLayout> <StackLayout Margin="20" Orientation="Vertical">
<Label <Label
FontAttributes="Bold" FontAttributes="Bold"
Text="Votre compte" Text="VOTRE COMPTE"
VerticalOptions="Start" VerticalOptions="StartAndExpand"
HorizontalOptions="Center"
FontFamily="Comic Sans MS"
FontSize="30"/> FontSize="30"/>
<Label <Label
FontAttributes="Bold" FontAttributes="Bold"
Text="Compte courant --- ???" Text="Compte courant --- 'BINDING'"
VerticalOptions="Center" HorizontalOptions="Center"
FontSize="30"/> VerticalOptions="CenterAndExpand"
FontFamily="Comic Sans MS"
FontSize="20"/>
<Button <Button
x:Name="ConnexionButton" x:Name="ConnexionButton"
Text="Modifier votre solde" Text="Modifier votre solde"
VerticalOptions="End" TextColor="Black"
BackgroundColor="Brown"/> VerticalOptions="Fill"
Margin="20"
CornerRadius="20"
BorderWidth="2"
BorderColor="Black"
FontFamily="Comic Sans MS"
Background="{StaticResource TestColor}"/>
</StackLayout> </StackLayout>
</ContentPage> </ContentPage>

@ -41,4 +41,11 @@
<Color x:Key="Blue200Accent">#72ACF1</Color> <Color x:Key="Blue200Accent">#72ACF1</Color>
<Color x:Key="Blue300Accent">#A7CBF6</Color> <Color x:Key="Blue300Accent">#A7CBF6</Color>
<LinearGradientBrush x:Key="TestColor" StartPoint="0,0" EndPoint="1,1">
<GradientStop Color="RosyBrown" Offset="0" />
<GradientStop Color="Brown" Offset="0.5" />
<GradientStop Color="RosyBrown" Offset="1" />
</LinearGradientBrush>
</ResourceDictionary> </ResourceDictionary>

@ -219,6 +219,8 @@
</Setter> </Setter>
</Style> </Style>
<Style TargetType="RadioButton"> <Style TargetType="RadioButton">
<Setter Property="Background" Value="Transparent"/> <Setter Property="Background" Value="Transparent"/>
<Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" /> <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" />

Loading…
Cancel
Save