From e96fecb4bb512ee47e9df0224e779b24d686bc30 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Bruy=C3=A8re?= Date: Wed, 16 Jul 2025 19:59:45 +0200 Subject: [PATCH] debug & templates --- Crow/Default.style | 3 +- Crow/Templates/CheckBox2.template | 2 +- Crow/Templates/ColorSlider.template | 9 +- .../Templates/DefaultTableHeaderCell.template | 2 +- Crow/Templates/GroupBox.template | 2 +- Crow/src/ExtensionsMethods.cs | 6 +- Crow/src/IML/CompilerServices.cs | 6 ++ Crow/src/IML/Instantiator.cs | 9 +- Crow/src/Widgets/Wrapper.cs | 3 +- Drawing2D/Drawing2D.csproj | 2 +- .../common/ui/Interfaces/Divers/color3.crow | 7 -- .../ui/Interfaces/Divers/colorPicker.crow | 2 +- .../ui/Interfaces/Divers/colorSlider3.crow | 82 +++++++++---------- .../ui/Interfaces/Divers/colorSlider4.crow | 24 +++--- .../ui/Interfaces/Divers/colorSlider5.crow | 8 ++ .../common/ui/templates/ColorPicker2.template | 33 ++++++++ 16 files changed, 115 insertions(+), 85 deletions(-) delete mode 100644 Samples/common/ui/Interfaces/Divers/color3.crow create mode 100644 Samples/common/ui/Interfaces/Divers/colorSlider5.crow create mode 100644 Samples/common/ui/templates/ColorPicker2.template diff --git a/Crow/Default.style b/Crow/Default.style index 6b0a718f..df1c75d1 100644 --- a/Crow/Default.style +++ b/Crow/Default.style @@ -342,9 +342,10 @@ labColorV { Width="50"; TextAlignment="Right"; } + ColorSlider { Focusable="true"; - Height="36"; + Height="18"; Margin="0"; Maximum="255"; Decimals="0"; diff --git a/Crow/Templates/CheckBox2.template b/Crow/Templates/CheckBox2.template index 4f692335..40ba9148 100644 --- a/Crow/Templates/CheckBox2.template +++ b/Crow/Templates/CheckBox2.template @@ -1,4 +1,4 @@ -