1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-31 15:36:07 +00:00

Tests css

This commit is contained in:
Yan Maniez 2019-03-11 19:17:41 +01:00
parent f6a6c13750
commit a0d32f56df

View file

@ -9,9 +9,15 @@
^contentpage {
background-color: lightgray;
}
stacklayout label {
grid imagebutton {
background-color: transparent;
padding: 30;
width: 150;
height: 150;
}
grid label {
text-align: center;
font-family: arial;
font-family: LinuxLibertineCapitalsBold;
}
]]>
</StyleSheet>
@ -19,26 +25,46 @@
<ContentPage.Content>
<ScrollView>
<FlexLayout Wrap="Wrap" AlignContent="Start" AlignItems="Start" Direction="Row" FlowDirection="LeftToRight" JustifyContent="SpaceEvenly">
<StackLayout Orientation="Vertical">
<ImageButton BackgroundColor="White" Padding="30" Source="battle_axe.png" WidthRequest="150" HeightRequest="150" Command="{Binding Main.Navigator.PlayerCharacterEditorCommand}"/>
<Label Text="Personnages" />
</StackLayout>
<StackLayout Orientation="Vertical">
<ImageButton BackgroundColor="White" Padding="30" Source="spell_book.png" WidthRequest="150" HeightRequest="150" Command="{Binding Main.Navigator.LibraryCommand}" />
<Label Text="Bibliothèque" />
</StackLayout>
<StackLayout Orientation="Vertical">
<ImageButton BackgroundColor="White" Padding="30" Source="stars_stack.png" WidthRequest="150" HeightRequest="150" Command="{Binding Main.Navigator.BookmarksCommand}" />
<Label Text="Favoris" />
</StackLayout>
<StackLayout Orientation="Vertical">
<ImageButton BackgroundColor="White" Padding="30" Source="crystal_ball.png" WidthRequest="150" HeightRequest="150" Command="{Binding Main.Navigator.DeepSearchCommand}" />
<Label Text="Recherche" />
</StackLayout>
<StackLayout Orientation="Vertical">
<ImageButton BackgroundColor="White" Padding="30" Source="wooden_sign.png" WidthRequest="150" HeightRequest="150" Command="{Binding Main.Navigator.AboutCommand}" />
<Label Text="A propos de..." />
</StackLayout>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
<Label Grid.Row="1" Text="Personnages" />
<ImageButton Grid.RowSpan="2" Source="battle_axe.png" Command="{Binding Main.Navigator.PlayerCharacterEditorCommand}"/>
</Grid>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
<Label Grid.Row="1" Text="Bibliothèque" />
<ImageButton Grid.RowSpan="2" Source="spell_book.png" Command="{Binding Main.Navigator.LibraryCommand}" />
</Grid>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
<Label Grid.Row="1" Text="Favoris" />
<ImageButton Grid.RowSpan="2" Source="stars_stack.png" Command="{Binding Main.Navigator.BookmarksCommand}" />
</Grid>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
<Label Grid.Row="1" Text="Recherche" />
<ImageButton Grid.RowSpan="2" Source="crystal_ball.png" Command="{Binding Main.Navigator.DeepSearchCommand}" />
</Grid>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
<Label Grid.Row="1" Text="A propos de..." />
<ImageButton Grid.RowSpan="2" Source="wooden_sign.png" Command="{Binding Main.Navigator.AboutCommand}" />
</Grid>
</FlexLayout>
</ScrollView>
</ContentPage.Content>