From a2261c5e92f6cc2541859ecf28900793fbe1a199 Mon Sep 17 00:00:00 2001 From: pizzaboxer Date: Tue, 11 Jun 2024 22:18:28 +0100 Subject: [PATCH] Adjust fluent bootstrapper styles Fix drag bug, fix sizing (because matt sucks at ui design), fix header colour being shown --- .../Bootstrapper/ClassicFluentDialog.xaml | 54 +++++++++++-------- .../Elements/Bootstrapper/FluentDialog.xaml | 14 +++-- .../Bootstrapper/FluentDialog.xaml.cs | 4 ++ .../Bootstrapper/FluentDialogViewModel.cs | 3 ++ 4 files changed, 45 insertions(+), 30 deletions(-) diff --git a/Bloxstrap/UI/Elements/Bootstrapper/ClassicFluentDialog.xaml b/Bloxstrap/UI/Elements/Bootstrapper/ClassicFluentDialog.xaml index bf41ec3..f3523cc 100644 --- a/Bloxstrap/UI/Elements/Bootstrapper/ClassicFluentDialog.xaml +++ b/Bloxstrap/UI/Elements/Bootstrapper/ClassicFluentDialog.xaml @@ -1,31 +1,41 @@ - + + - - - - + + + + diff --git a/Bloxstrap/UI/Elements/Bootstrapper/FluentDialog.xaml b/Bloxstrap/UI/Elements/Bootstrapper/FluentDialog.xaml index 0ddaa83..ec86ce0 100644 --- a/Bloxstrap/UI/Elements/Bootstrapper/FluentDialog.xaml +++ b/Bloxstrap/UI/Elements/Bootstrapper/FluentDialog.xaml @@ -8,12 +8,11 @@ xmlns:resources="clr-namespace:Bloxstrap.Resources" xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" xmlns:vms="clr-namespace:Bloxstrap.UI.ViewModels.Bootstrapper" - Width="500" - Height="280" + Width="520" + Height="320" MinHeight="0" d:DataContext="{d:DesignInstance vms:FluentDialogViewModel, IsDesignTimeCreatable=True}" - AllowsTransparency="True" Background="{ui:ThemeResource ApplicationBackgroundBrush}" Closing="UiWindow_Closing" ExtendsContentIntoTitleBar="True" @@ -43,17 +42,16 @@