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" xmlns:local="clr-namespace:IHM"
x:Class="IHM.App"> x:Class="IHM.App">
<Application.Resources> <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>
<ResourceDictionary.MergedDictionaries> <ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Resources/Styles/Colors.xaml" /> <ResourceDictionary Source="Resources/Styles/Colors.xaml" />

@ -18,24 +18,17 @@
HorizontalOptions="Center" HorizontalOptions="Center"
Scale="0.5"/> Scale="0.5"/>
<Border StrokeShape="RoundRectangle 40" BackgroundColor="White" Padding="7"> <Border Style="{StaticResource Rectangle}">
<Entry BackgroundColor="White" <Entry Style="{StaticResource ZoneTaper}"
TextColor="Black"
VerticalTextAlignment="Center"
FontSize="15"
Placeholder="Addresse mail" Placeholder="Addresse mail"
x:Name="EntryMail"/> x:Name="EntryMail"/>
</Border> </Border>
<Border StrokeShape="RoundRectangle 40" BackgroundColor="White" Padding="7"> <Border Style="{StaticResource Rectangle}">
<Entry BackgroundColor="White" <Entry Style="{StaticResource ZoneTaper}"
TextColor="Black"
VerticalTextAlignment="Center"
FontSize="15"
Placeholder="Mot de passe" Placeholder="Mot de passe"
IsPassword="True" IsPassword="True"
x:Name="EntryPassworld"/> x:Name="EntryPassworld"/>
</Border> </Border>
<Button <Button

Loading…
Cancel
Save