From 3c40b950dfa117574834740784ad2cb5530af441 Mon Sep 17 00:00:00 2001 From: 0x5BFA <62196528+0x5bfa@users.noreply.github.com> Date: Thu, 7 Aug 2025 21:32:19 +0900 Subject: [PATCH 1/2] Init --- .../src/GridSplitter/GridSplitter.Events.cs | 4 ++-- components/Sizers/src/SizerBase.cs | 2 +- components/Sizers/src/SizerBase.xaml | 23 ++++++++++++++++++- 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/components/Sizers/src/GridSplitter/GridSplitter.Events.cs b/components/Sizers/src/GridSplitter/GridSplitter.Events.cs index ba40e784..999be72f 100644 --- a/components/Sizers/src/GridSplitter/GridSplitter.Events.cs +++ b/components/Sizers/src/GridSplitter/GridSplitter.Events.cs @@ -50,7 +50,7 @@ protected override bool OnDragVertical(double verticalChange) var currentChange = _currentSize + verticalChange; var siblingChange = _siblingSize + (verticalChange * -1); // sibling moves opposite - // Would changing the columnn sizes violate the constraints? + // Would changing the column sizes violate the constraints? if (!IsValidRowHeight(CurrentRow, currentChange) || !IsValidRowHeight(SiblingRow, siblingChange)) { return false; @@ -125,7 +125,7 @@ protected override bool OnDragHorizontal(double horizontalChange) var currentChange = _currentSize + horizontalChange; var siblingChange = _siblingSize + (horizontalChange * -1); // sibling moves opposite - // Would changing the columnn sizes violate the constraints? + // Would changing the column sizes violate the constraints? if (!IsValidColumnWidth(CurrentColumn, currentChange) || !IsValidColumnWidth(SiblingColumn, siblingChange)) { return false; diff --git a/components/Sizers/src/SizerBase.cs b/components/Sizers/src/SizerBase.cs index 0cf9b01c..b1f62171 100644 --- a/components/Sizers/src/SizerBase.cs +++ b/components/Sizers/src/SizerBase.cs @@ -139,7 +139,7 @@ protected override void OnApplyTemplate() // Ensure we have the proper cursor value setup, as we can only set now for WinUI 3 OnOrientationPropertyChanged(this, null!); - // Ensure we set the Thumb visiblity + // Ensure we set the Thumb visibility OnIsThumbVisiblePropertyChanged(this, null!); } diff --git a/components/Sizers/src/SizerBase.xaml b/components/Sizers/src/SizerBase.xaml index fc306c7e..4ba6482e 100644 --- a/components/Sizers/src/SizerBase.xaml +++ b/components/Sizers/src/SizerBase.xaml @@ -41,12 +41,21 @@ ResourceKey="SystemColorButtonTextColorBrush" /> + 24 4 2 4 - +