Fix de taille selon l'écran partiel

Popup_qui_marche_pas
Jade VAN BRABANDT 2 years ago
parent 1c476b3857
commit ed4520ba32

@ -6,27 +6,43 @@
Background="black"> Background="black">
<ScrollView> <ScrollView>
<VerticalStackLayout Margin="200,0,200,0" BackgroundColor="#495057"> <VerticalStackLayout Margin="200,0,200,0" BackgroundColor="#495057">
<Grid>
<HorizontalStackLayout HorizontalOptions="Center" Margin="0,0,0,10"> <Grid.ColumnDefinitions>
<Border> <ColumnDefinition Width="*" />
<Button Background="transparent" FontSize="40" Text="Bouton 1" WidthRequest="325"></Button> <ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Border Grid.Column="0" Grid.Row="0" >
<Button Background="transparent" Grid.Column="0" Grid.Row="0" FontSize="40" Text="Bouton 1" WidthRequest="325"></Button>
</Border> </Border>
<Border> <Border Grid.Column="1" Grid.Row="0" >
<Button Background="transparent" FontSize="40" Text="Bouton 2" WidthRequest="325"></Button> <Button Background="transparent" Grid.Column="1" Grid.Row="0" FontSize="40" Text="Bouton 2" WidthRequest="325"></Button>
</Border> </Border>
<Border> <Border Grid.Column="2" Grid.Row="0" >
<Button Background="transparent" FontSize="40" Text="Bouton 3" WidthRequest="325"></Button> <Button Background="transparent" Grid.Column="2" Grid.Row="0" FontSize="40" Text="Bouton 3" WidthRequest="325"></Button>
</Border> </Border>
<Border> <Border Grid.Column="3" Grid.Row="0" >
<Button Background="transparent" FontSize="40" Text="Bouton 4" WidthRequest="325"></Button> <Button Background="transparent" Grid.Column="3" Grid.Row="0" FontSize="40" Text="Bouton 4" WidthRequest="325"></Button>
</Border> </Border>
</HorizontalStackLayout> </Grid>
<HorizontalStackLayout> <Grid>
<Grid.ColumnDefinitions>
<Border Margin="10,0,0,10"> <ColumnDefinition Width="*" />
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Border Margin="10,10,10,10">
<HorizontalStackLayout WidthRequest="335"> <HorizontalStackLayout WidthRequest="335">
<VerticalStackLayout> <VerticalStackLayout>
@ -43,7 +59,7 @@
</HorizontalStackLayout> </HorizontalStackLayout>
</Border> </Border>
<Border Margin="10,0,0,10"> <Border Margin="10,10,10,10" Grid.Column="1">
<HorizontalStackLayout WidthRequest="335"> <HorizontalStackLayout WidthRequest="335">
<VerticalStackLayout> <VerticalStackLayout>
<Image Source="eldenring.jpg" WidthRequest="335"/> <Image Source="eldenring.jpg" WidthRequest="335"/>
@ -59,7 +75,7 @@
</HorizontalStackLayout> </HorizontalStackLayout>
</Border> </Border>
<Border Margin="10,0,0,10"> <Border Margin="10,10,10,10" Grid.Column="2">
<HorizontalStackLayout WidthRequest="335"> <HorizontalStackLayout WidthRequest="335">
<VerticalStackLayout> <VerticalStackLayout>
<Image Source="eldenring.jpg" WidthRequest="335"/> <Image Source="eldenring.jpg" WidthRequest="335"/>
@ -75,7 +91,7 @@
</HorizontalStackLayout> </HorizontalStackLayout>
</Border> </Border>
<Border Margin="10,0,0,10"> <Border Margin="10,10,10,10" Grid.Column="3">
<HorizontalStackLayout WidthRequest="335"> <HorizontalStackLayout WidthRequest="335">
<VerticalStackLayout> <VerticalStackLayout>
<Image Source="eldenring.jpg" WidthRequest="335"/> <Image Source="eldenring.jpg" WidthRequest="335"/>
@ -90,10 +106,8 @@
</HorizontalStackLayout> </HorizontalStackLayout>
</Border> </Border>
</HorizontalStackLayout> <Border Margin="10,10,10,10" Grid.Column="0" Grid.Row="1">
<HorizontalStackLayout>
<Border Margin="10,0,0,10">
<HorizontalStackLayout WidthRequest="335"> <HorizontalStackLayout WidthRequest="335">
<VerticalStackLayout> <VerticalStackLayout>
@ -110,7 +124,7 @@
</HorizontalStackLayout> </HorizontalStackLayout>
</Border> </Border>
<Border Margin="10,0,0,10"> <Border Margin="10,10,10,10" Grid.Column="1" Grid.Row="1">
<HorizontalStackLayout WidthRequest="335"> <HorizontalStackLayout WidthRequest="335">
<VerticalStackLayout> <VerticalStackLayout>
<Image Source="eldenring.jpg" WidthRequest="335"/> <Image Source="eldenring.jpg" WidthRequest="335"/>
@ -126,7 +140,7 @@
</HorizontalStackLayout> </HorizontalStackLayout>
</Border> </Border>
<Border Margin="10,0,0,10"> <Border Margin="10,10,10,10" Grid.Column="2" Grid.Row="1">
<HorizontalStackLayout WidthRequest="335"> <HorizontalStackLayout WidthRequest="335">
<VerticalStackLayout> <VerticalStackLayout>
<Image Source="eldenring.jpg" WidthRequest="335"/> <Image Source="eldenring.jpg" WidthRequest="335"/>
@ -142,7 +156,7 @@
</HorizontalStackLayout> </HorizontalStackLayout>
</Border> </Border>
<Border Margin="10,0,0,10"> <Border Margin="10,10,10,10" Grid.Column="3" Grid.Row="1">
<HorizontalStackLayout WidthRequest="335"> <HorizontalStackLayout WidthRequest="335">
<VerticalStackLayout> <VerticalStackLayout>
<Image Source="eldenring.jpg" WidthRequest="335"/> <Image Source="eldenring.jpg" WidthRequest="335"/>
@ -158,7 +172,7 @@
</HorizontalStackLayout> </HorizontalStackLayout>
</Border> </Border>
</HorizontalStackLayout> </Grid>
</VerticalStackLayout> </VerticalStackLayout>
</ScrollView> </ScrollView>
</ContentPage> </ContentPage>

Loading…
Cancel
Save