From 756c646b934ad6315196bc2c41acc2393d6fc1ca Mon Sep 17 00:00:00 2001 From: shinichi Date: Wed, 14 Oct 2020 14:55:58 +0200 Subject: [PATCH] before removing shadows --- ClientApp/ViewModels/MainWindowViewModel.cs | 5 +++++ ClientApp/Views/MainWindow.xaml | 11 +++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ClientApp/ViewModels/MainWindowViewModel.cs b/ClientApp/ViewModels/MainWindowViewModel.cs index e2eb00c..0e87c8a 100644 --- a/ClientApp/ViewModels/MainWindowViewModel.cs +++ b/ClientApp/ViewModels/MainWindowViewModel.cs @@ -48,10 +48,15 @@ namespace ClientApp.ViewModels public double MinimumHeight { get; set; } = 250; + + public int ResizeBorder { get; set; } = 6; public Thickness ResizeBorderThickness { get { return new Thickness(ResizeBorder + OuterMarginSize); } } + public Thickness InnerContentPadding { get { return new Thickness(ResizeBorder); } } + + public Thickness OuterMarginThickness { get { return new Thickness(OuterMarginSize); } } public CornerRadius WindowCornerRadius { get { return new CornerRadius(WindowRadius); } } diff --git a/ClientApp/Views/MainWindow.xaml b/ClientApp/Views/MainWindow.xaml index 0e8978f..01a898d 100644 --- a/ClientApp/Views/MainWindow.xaml +++ b/ClientApp/Views/MainWindow.xaml @@ -80,13 +80,14 @@ + - + @@ -97,6 +98,12 @@ + + + + + +