From 94ad875ff28df520266e0680ee1927e199235837 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Bruy=C3=A8re?= Date: Sat, 17 Feb 2018 03:20:18 +0100 Subject: [PATCH] styling, checkbox used in popper --- Default.style | 24 ++++++++++++++++++------ Templates/Expandable.template | 4 ++-- Templates/MenuItem.template | 30 +++++++++++++++++------------- Templates/Popper.template | 20 +++++++++++++------- Tests/Interfaces/Divers/0.crow | 4 ++-- 5 files changed, 52 insertions(+), 30 deletions(-) diff --git a/Default.style b/Default.style index 4eaabf4c..887ecc9f 100644 --- a/Default.style +++ b/Default.style @@ -9,8 +9,25 @@ Border { CheckBox { Caption = CheckBox; } RadioButton { Caption = RadioButton; } Expandable { Caption = Expandable; } -Popper { Caption = Popper; } +Popper { Caption = Popper;} GroupBox { Caption = Group Box; } + +ControlBorder { + BorderWidth = 1; + Foreground = Jet; + Background = Transparent; +} +ControlCaption { + Foreground = Gray; + MouseEnter = {Foreground=White}; + MouseLeave = {Foreground=Gray}; +} +Icon { + Margin=1; + Width=12; + Height=12; +} + Wrapper { Orientation = Vertical; } @@ -116,11 +133,6 @@ ScrollBar { Scroller { CacheEnabled = false; } -Icon { - Margin=1; - Width=12; - Height=12; -} Control { Margin=0; Spacing=3; diff --git a/Templates/Expandable.template b/Templates/Expandable.template index 610caf5c..c5dd1d83 100755 --- a/Templates/Expandable.template +++ b/Templates/Expandable.template @@ -1,5 +1,5 @@  - + - diff --git a/Templates/MenuItem.template b/Templates/MenuItem.template index 511c5265..57014577 100644 --- a/Templates/MenuItem.template +++ b/Templates/MenuItem.template @@ -3,19 +3,23 @@ Foreground = "{./Foreground}" CanPop="{./HasChildren}" MouseClick="./onMI_Click" IsPopped="{²./IsOpened}" PopWidth="{./PopWidth}" PopHeight="{./PopHeight}"> diff --git a/Templates/Popper.template b/Templates/Popper.template index 0bc7c741..78a60842 100755 --- a/Templates/Popper.template +++ b/Templates/Popper.template @@ -1,8 +1,14 @@  - - - - - \ No newline at end of file + + + diff --git a/Tests/Interfaces/Divers/0.crow b/Tests/Interfaces/Divers/0.crow index dbb1420d..42900792 100755 --- a/Tests/Interfaces/Divers/0.crow +++ b/Tests/Interfaces/Divers/0.crow @@ -96,10 +96,10 @@ - + - +