Ajout de style et légère modif de vues

UI_Windows
Raphael LACOTE 2 years ago
parent b866c9a81a
commit 87df36b72e

@ -3,7 +3,6 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="IHM.Desktop.Echeancier"
Title="Echeancier"
BackgroundImageSource="logo_sans_fond.png"
BackgroundColor="{StaticResource Yellow300Accent}">
<VerticalStackLayout Margin="20">
@ -30,18 +29,12 @@
<HorizontalStackLayout HorizontalOptions="Center" VerticalOptions="Fill">
<Border Background="Green"
StrokeThickness="2"
Padding="16,8"
StrokeShape="RoundRectangle 30,30,30,30"
Stroke="Black">
Style="{StaticResource TotalButton}">
<Label Text=" -- BINDING -- " FontFamily="Comic sans MS"/>
</Border>
<Border Background="Brown"
StrokeThickness="2"
Padding="16,8"
StrokeShape="RoundRectangle 30,30,30,30"
Stroke="Black">
Style="{StaticResource TotalButton}">
<Label Text=" -- BINDING -- " FontFamily="Comic sans MS"/>
</Border>

@ -414,4 +414,11 @@
<Setter Property="Background" Value="{StaticResource TestColor}"/>
</Style>
<Style TargetType="Border" x:Key="TotalButton">
<Setter Property="StrokeThickness" Value="2"/>
<Setter Property="Padding" Value="220,8"/>
<Setter Property="StrokeShape" Value="RoundRectangle 20,20,20,20"/>
<Setter Property="Stroke" Value="Black"/>
</Style>
</ResourceDictionary>

Loading…
Cancel
Save