[polari] serverRoomList: End-align member count column



commit 00b387b33e6426b3e88895944f13742c36d3f0a2
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Mar 11 22:33:29 2017 +0100

    serverRoomList: End-align member count column
    
    Number columns just look odd when digits of the same magnitude don't
    align ...
    
    https://bugzilla.gnome.org/show_bug.cgi?id=779921

 src/serverRoomManager.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/serverRoomManager.js b/src/serverRoomManager.js
index 923c54b..16c3c50 100644
--- a/src/serverRoomManager.js
+++ b/src/serverRoomManager.js
@@ -166,7 +166,7 @@ const ServerRoomList = new Lang.Class({
         column.add_attribute(renderer, 'text', RoomListColumn.NAME);
         column.add_attribute(renderer, 'sensitive', RoomListColumn.SENSITIVE);
 
-        renderer = new Gtk.CellRendererText();
+        renderer = new Gtk.CellRendererText({ xalign: 1.0 });
 
         column.pack_start(renderer, false);
         column.add_attribute(renderer, 'text', RoomListColumn.COUNT);


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