From 1020b6a1cebf3319327a6136aa1745f19cfe0d6c Mon Sep 17 00:00:00 2001 From: Pedro Duque Vieira Date: Wed, 25 Jul 2018 00:57:30 +0100 Subject: [PATCH] JMetro: Make menu-item's slightly more compact (in height) --- .../main/resources/jfxtras/styles/jmetro8/JMetroDarkTheme.css | 2 +- .../resources/jfxtras/styles/jmetro8/JMetroLightTheme.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jmetro/src/main/resources/jfxtras/styles/jmetro8/JMetroDarkTheme.css b/jmetro/src/main/resources/jfxtras/styles/jmetro8/JMetroDarkTheme.css index 9d32173a..59632805 100644 --- a/jmetro/src/main/resources/jfxtras/styles/jmetro8/JMetroDarkTheme.css +++ b/jmetro/src/main/resources/jfxtras/styles/jmetro8/JMetroDarkTheme.css @@ -1583,7 +1583,7 @@ .menu-item { -fx-text-fill: white; -fx-background-color: transparent; - -fx-padding: 0.666666em 1em 0.666666em 1em; /*8 12 8 12 */ + -fx-padding: 0.583333em 1em 0.583333em 1em; /*7 12 7 12 */ } .menu-item .label { diff --git a/jmetro/src/main/resources/jfxtras/styles/jmetro8/JMetroLightTheme.css b/jmetro/src/main/resources/jfxtras/styles/jmetro8/JMetroLightTheme.css index f78ba794..1d26cb9a 100644 --- a/jmetro/src/main/resources/jfxtras/styles/jmetro8/JMetroLightTheme.css +++ b/jmetro/src/main/resources/jfxtras/styles/jmetro8/JMetroLightTheme.css @@ -1035,7 +1035,7 @@ /******************************************************************************* * * - * ChoiceBox * + * Choice Box * * * ******************************************************************************/ @@ -1407,7 +1407,7 @@ .menu-item { -fx-text-fill: #393939; -fx-background-color: transparent; - -fx-padding: 0.666666em 1em 0.666666em 1em; /*8 12 8 12 */ + -fx-padding: 0.583333em 1em 0.583333em 1em; /*7 12 7 12 */ } .menu-item .label {