From 36c63b632639685c4e5f2b3ba335cf5334490c11 Mon Sep 17 00:00:00 2001 From: rabbitism Date: Mon, 5 Feb 2024 22:06:17 +0800 Subject: [PATCH] feat: implement resizing logic. --- demo/Ursa.Demo/Dialogs/DialogWithAction.axaml | 54 ++++++++++++------- .../ViewModels/DrawerDemoViewModel.cs | 4 +- src/Ursa.Themes.Semi/Controls/Dialog.axaml | 8 +++ src/Ursa.Themes.Semi/Controls/Drawer.axaml | 23 +++++++- .../OverlayShared/OverlayDialogHost.Drawer.cs | 24 +++++++++ .../OverlayShared/OverlayDialogHost.Shared.cs | 4 ++ 6 files changed, 97 insertions(+), 20 deletions(-) diff --git a/demo/Ursa.Demo/Dialogs/DialogWithAction.axaml b/demo/Ursa.Demo/Dialogs/DialogWithAction.axaml index 2f4bef9..7ab2c67 100644 --- a/demo/Ursa.Demo/Dialogs/DialogWithAction.axaml +++ b/demo/Ursa.Demo/Dialogs/DialogWithAction.axaml @@ -1,25 +1,43 @@ - - - - - - - - + + + + + +