[polari] roomList: Baseline-align label and icon
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] roomList: Baseline-align label and icon
- Date: Thu, 8 Aug 2013 13:08:17 +0000 (UTC)
commit 04790acc0903f14aa1729ec20505e0a88a07ff00
Author: Florian Müllner <florian muellner gmail com>
Date: Tue Jul 23 10:19:16 2013 +0200
roomList: Baseline-align label and icon
src/roomList.js | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/roomList.js b/src/roomList.js
index eecf3af..3cf6137 100644
--- a/src/roomList.js
+++ b/src/roomList.js
@@ -17,13 +17,15 @@ const RoomRow = new Lang.Class({
this.widget.add(box);
let icon = new Gtk.Image({ gicon: room.icon,
- icon_size: Gtk.IconSize.MENU });
+ icon_size: Gtk.IconSize.MENU,
+ valign: Gtk.Align.BASELINE });
icon.get_style_context().add_class('dim-label');
box.add(icon);
this._roomLabel = new Gtk.Label({ use_markup: true,
hexpand: true,
- halign: Gtk.Align.START });
+ halign: Gtk.Align.START,
+ valign: Gtk.Align.BASELINE });
box.add(this._roomLabel);
this._counter = new Gtk.Label({ width_chars: 2 });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]