From: Jean-Philippe Bruyère Date: Mon, 15 Jun 2020 10:25:50 +0000 (+0200) Subject: force measure in containers X-Git-Tag: v0.9.5-beta~113^2~8 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=13698c71260a0022f7f863322b0cea4b9cd6c271;p=jp%2Fcrow.git force measure in containers --- diff --git a/Crow/Default.style b/Crow/Default.style index 3d5c3e7f..8bc81ea6 100644 --- a/Crow/Default.style +++ b/Crow/Default.style @@ -10,12 +10,14 @@ IconSize = "11"; IconMargin = "1"; ToggleIconSize = "16"; -WindowBackgroundColor = ""; +WindowBackgroundColor = "DarkGrey"; WindowBorderColor = "Grey"; WindowBorderWidth = "1"; -WindowTitleBarBackground = "vgradient|0:Onyx|1:SteelBlue"; +WindowTitleBarBackground = "vgradient|0:Onyx|1:RoyalBlue"; WindowTitleBarForeground = "White"; +MenuBackground = "Jet"; + Button, CheckBox, RadioButton, ComboBox, Expandable, MessageBox, Popper, Slider, Spinner, TextBox { Focusable = "true"; @@ -77,23 +79,25 @@ TextBox { MouseCursor = "IBeam"; } Menu { - Margin = "1"; - Background = "vgradient|0:DimGrey|1:Black"; - //Background = "Transparent"; + Margin = "0"; + Background = "${MenuBackground}"; Height = "Fit"; Width = "Stretched"; VerticalAlignment = "Top"; SelectionBackground = "${ControlHighlight}"; + SelectionColoring = "false"; } MenuItem { Caption = "MenuItem"; Width = "Stretched"; Height = "Fit"; - Background = "DimGrey"; - Foreground = "LightGrey"; + Background = "${MenuBackground}"; + Foreground = "${ControlCaptionColor}"; MouseEnter = "{Background=${ControlHighlight}}"; - MouseLeave = "{Background=Transparent}"; - SelectionBackground = "${ControlHighlight}"; + MouseLeave = "{Background=${MenuBackground}}"; + //SelectionBackground = "${ControlHighlight}"; + SelectionBackground = "Transparent"; + SelectionColoring = "false"; } MessageBox { Background = "0.1,0.1,0.2,0.85"; diff --git a/Crow/Templates/FileDialog.template b/Crow/Templates/FileDialog.template index 419e093a..5140aae7 100644 --- a/Crow/Templates/FileDialog.template +++ b/Crow/Templates/FileDialog.template @@ -1,14 +1,10 @@  - + - + -