changeset 5167:a1c13e1ce899

RT-32996 MenuButton text should be left aligned. reviewed by Jonathan.
author psomashe
date Tue, 24 Sep 2013 15:49:41 -0700
parents dbcbfaf3abb4
children 26e00f0c1674
files modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/modena.css
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/modena.css	Wed Sep 25 10:01:43 2013 +1200
+++ b/modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/modena.css	Tue Sep 24 15:49:41 2013 -0700
@@ -409,6 +409,9 @@
     -fx-alignment: CENTER;
     -fx-content-display: LEFT;
 }
+.menu-button > .label {
+    -fx-alignment: CENTER_LEFT;
+}
 .button:hover,
 .toggle-button:hover,
 .radio-button:hover > .radio,