[gnome-shell] popupMenu: Center separators vertically



commit e1816cd228a36ac8dc636659683d1d0e73ed0d56
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Mar 6 18:57:19 2015 +0100

    popupMenu: Center separators vertically

 js/ui/popupMenu.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js
index 062701a..72a62bd 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 });
     },
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]