From e9f488f00496528a85ec9557831bfaae40db7c09 Mon Sep 17 00:00:00 2001 From: rabbitism Date: Thu, 9 Feb 2023 21:30:16 +0800 Subject: [PATCH] fix: move styles closer to element. --- .../Controls/ColorPicker.axaml | 65 +++++++++---------- 1 file changed, 32 insertions(+), 33 deletions(-) diff --git a/src/Semi.Avalonia.ColorPicker/Controls/ColorPicker.axaml b/src/Semi.Avalonia.ColorPicker/Controls/ColorPicker.axaml index 970fada..19af230 100644 --- a/src/Semi.Avalonia.ColorPicker/Controls/ColorPicker.axaml +++ b/src/Semi.Avalonia.ColorPicker/Controls/ColorPicker.axaml @@ -71,38 +71,8 @@ Name="RootGrid" Width="300" Height="300" - RowDefinitions="*,Auto" - Tag="{TemplateBinding ColorModel}"> - - - - - - - - - - - - + RowDefinitions="*,Auto"> + + RowDefinitions="Auto,24,1*,1*,1*,1*,12" + Tag="{TemplateBinding ColorModel}"> + + + + + + + + + +