Ajout de 2 styles
continuous-integration/drone/push Build is passing Details

MAUI
Raphael LACOTE 2 years ago
parent a076b7bbd9
commit 229731409a

@ -4,6 +4,17 @@
xmlns:local="clr-namespace:IHM"
x:Class="IHM.App">
<Application.Resources>
<Style TargetType="Border" x:Key="Rectangle">
<Setter Property="BackgroundColor" Value="Black"/>
<Setter Property="Padding" Value="7"/>
<Setter Property="StrokeShape" Value="RoundRectangle 40"/>
</Style>
<Style TargetType="Entry" x:Key="ZoneTaper">
<Setter Property="BackgroundColor" Value="White"/>
<Setter Property="TextColor" Value="Black"/>
<Setter Property="VerticalTextAlignment" Value="Center"/>
<Setter Property="FontSize" Value="15"/>
</Style>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Resources/Styles/Colors.xaml" />

@ -17,27 +17,20 @@
<Image Source="Resources/Images/logo_sans_fond.png"
HorizontalOptions="Center"
Scale="0.5"/>
<Border StrokeShape="RoundRectangle 40" BackgroundColor="White" Padding="7">
<Entry BackgroundColor="White"
TextColor="Black"
VerticalTextAlignment="Center"
FontSize="15"
<Border Style="{StaticResource Rectangle}">
<Entry Style="{StaticResource ZoneTaper}"
Placeholder="Addresse mail"
x:Name="EntryMail"/>
</Border>
<Border StrokeShape="RoundRectangle 40" BackgroundColor="White" Padding="7">
<Entry BackgroundColor="White"
TextColor="Black"
VerticalTextAlignment="Center"
FontSize="15"
<Border Style="{StaticResource Rectangle}">
<Entry Style="{StaticResource ZoneTaper}"
Placeholder="Mot de passe"
IsPassword="True"
x:Name="EntryPassworld"/>
</Border>
<Button
x:Name="ConnexionButton"
Text="Se connecter"

Loading…
Cancel
Save