From 2864538a3fae9f9ce085e77e59583603cc725752 Mon Sep 17 00:00:00 2001 From: alessandrocaseti <90320229+alessandrocaseti@users.noreply.github.com> Date: Tue, 28 May 2024 22:16:45 +0200 Subject: [PATCH] wippp --- ClassevivaPCTO/Views/BachecaPage.xaml | 88 +++++++++++++----------- ClassevivaPCTO/Views/BachecaPage.xaml.cs | 21 +++++- 2 files changed, 67 insertions(+), 42 deletions(-) diff --git a/ClassevivaPCTO/Views/BachecaPage.xaml b/ClassevivaPCTO/Views/BachecaPage.xaml index 62cdd559..357de274 100644 --- a/ClassevivaPCTO/Views/BachecaPage.xaml +++ b/ClassevivaPCTO/Views/BachecaPage.xaml @@ -7,6 +7,7 @@ xmlns:controls="using:ClassevivaPCTO.Controls" xmlns:controls1="using:CommunityToolkit.WinUI.Controls" mc:Ignorable="d" + SizeChanged="CustomAppPage_SizeChanged" xmlns:muxc="using:Microsoft.UI.Xaml.Controls" xmlns:converters="using:ClassevivaPCTO.Converters" xmlns:converters1="using:CommunityToolkit.WinUI.Converters" @@ -31,84 +32,89 @@ - + + + - + + + - - - + - - - + - - - - - + + + - - - - - - - - - + + + + + + + + - - - - - - - - - + + + + + + + + - - - - + + + + - + - + - - + + + 500 && currentWidth < 900) + { + // fistra piccola + // deve stare sotto al titolo + ControlsPanel.HorizontalSpacing = (currentWidth + 1100) + 32; + } + else + { + ControlsPanel.HorizontalSpacing = currentWidth/50 + 100; + } + } } } \ No newline at end of file