From 33f266f48db7b1daea8ffbda920485dfc168f225 Mon Sep 17 00:00:00 2001 From: rabbitism Date: Fri, 18 Oct 2024 14:19:32 +0800 Subject: [PATCH] feat: make colorpicker dropdown button customizable. --- .../Pages/ColorPickerDemo.axaml | 56 +++++++++++++++---- .../Controls/ColorPicker.axaml | 6 +- 2 files changed, 48 insertions(+), 14 deletions(-) diff --git a/demo/Semi.Avalonia.Demo/Pages/ColorPickerDemo.axaml b/demo/Semi.Avalonia.Demo/Pages/ColorPickerDemo.axaml index cb5dfaf9..3eb407d5 100644 --- a/demo/Semi.Avalonia.Demo/Pages/ColorPickerDemo.axaml +++ b/demo/Semi.Avalonia.Demo/Pages/ColorPickerDemo.axaml @@ -19,42 +19,74 @@ - + + Theme="{StaticResource SimpleColorView}" /> - + - + - + + + + + + + + + + + + + + - - + + diff --git a/src/Semi.Avalonia.ColorPicker/Controls/ColorPicker.axaml b/src/Semi.Avalonia.ColorPicker/Controls/ColorPicker.axaml index ea7d2a71..b9399bdf 100644 --- a/src/Semi.Avalonia.ColorPicker/Controls/ColorPicker.axaml +++ b/src/Semi.Avalonia.ColorPicker/Controls/ColorPicker.axaml @@ -51,7 +51,6 @@ + +