From e1816cd228a36ac8dc636659683d1d0e73ed0d56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 6 Mar 2015 18:57:19 +0100 Subject: [PATCH] popupMenu: Center separators vertically --- js/ui/popupMenu.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index 062701ac3..72a62bdf3 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -263,7 +263,9 @@ const PopupSeparatorMenuItem = new Lang.Class({ Lang.bind(this, this._syncVisibility)); this._syncVisibility(); - this._separator = new St.Widget({ style_class: 'popup-separator-menu-item' }); + this._separator = new St.Widget({ style_class: 'popup-separator-menu-item', + y_expand: true, + y_align: Clutter.ActorAlign.CENTER }); this.actor.add(this._separator, { expand: true }); },