mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-29 14:35:45 +00:00
Dispo FlexLayout
This commit is contained in:
parent
fa06c2e6e2
commit
64eeee346d
2 changed files with 9 additions and 7 deletions
|
|
@ -1,7 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="AideDeJeu.Views.MainPage">
|
||||
x:Class="AideDeJeu.Views.MainPage"
|
||||
Title="Haches & Dés">
|
||||
<ContentPage.Content>
|
||||
<!--<CollectionView ItemsSource="{Binding tralala}">
|
||||
<CollectionView.ItemsLayout>
|
||||
|
|
@ -12,12 +13,12 @@
|
|||
</CollectionView.ItemTemplate>
|
||||
</CollectionView>-->
|
||||
<ScrollView>
|
||||
<FlexLayout Wrap="Wrap" JustifyContent="SpaceEvenly">
|
||||
<ImageButton Source="battle_axe.png" Command="{Binding Main.Navigator.PlayerCharacterEditorCommand}"/>
|
||||
<ImageButton Source="spell_book.png" Command="{Binding Main.Navigator.LibraryCommand}" />
|
||||
<ImageButton Source="stars_stack.png" Command="{Binding Main.Navigator.BookmarksCommand}" />
|
||||
<ImageButton Source="crystal_ball.png" Command="{Binding Main.Navigator.DeepSearchCommand}" />
|
||||
<ImageButton Source="wooden_sign.png" Command="{Binding Main.Navigator.AboutCommand}" />
|
||||
<FlexLayout Wrap="Wrap" AlignContent="Start" AlignItems="Start" Direction="Row" FlowDirection="LeftToRight" JustifyContent="SpaceEvenly">
|
||||
<ImageButton BackgroundColor="White" Source="battle_axe.png" WidthRequest="150" HeightRequest="150" Command="{Binding Main.Navigator.PlayerCharacterEditorCommand}"/>
|
||||
<ImageButton BackgroundColor="White" Source="spell_book.png" WidthRequest="150" HeightRequest="150" Command="{Binding Main.Navigator.LibraryCommand}" />
|
||||
<ImageButton BackgroundColor="White" Source="stars_stack.png" WidthRequest="150" HeightRequest="150" Command="{Binding Main.Navigator.BookmarksCommand}" />
|
||||
<ImageButton BackgroundColor="White" Source="crystal_ball.png" WidthRequest="150" HeightRequest="150" Command="{Binding Main.Navigator.DeepSearchCommand}" />
|
||||
<ImageButton BackgroundColor="White" Source="wooden_sign.png" WidthRequest="150" HeightRequest="150" Command="{Binding Main.Navigator.AboutCommand}" />
|
||||
</FlexLayout>
|
||||
</ScrollView>
|
||||
</ContentPage.Content>
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
xmlns:tools="clr-namespace:AideDeJeu.Tools"
|
||||
xmlns:mdview="clr-namespace:Xam.Forms.Markdown"
|
||||
x:Name="This"
|
||||
Title="Création de personnage"
|
||||
>
|
||||
<ContentPage.Resources>
|
||||
<ResourceDictionary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue