[polari/wip/raresv/popoverRebasedOnTracker] UserDetails labels now have the same font size and icons are dimmed.



commit ef91a4044afd5e4fd00a9e278598a9a53db6e25f
Author: raresv <rares visalom gmail com>
Date:   Mon Jul 11 14:27:21 2016 +0300

    UserDetails labels now have the same font size and icons are dimmed.

 data/resources/user-details.ui |    7 +++++++
 src/userList.js                |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/data/resources/user-details.ui b/data/resources/user-details.ui
index 7d15f33..519f70d 100644
--- a/data/resources/user-details.ui
+++ b/data/resources/user-details.ui
@@ -42,6 +42,9 @@
                 <property name="visible">True</property>
                 <property name="halign">start</property>
                 <property name="margin-left">0</property>
+                <style>
+                  <class name="dim-label" />
+                </style>
               </object>
               <packing>
                 <property name="width">1</property>
@@ -89,6 +92,9 @@
                 <property name="visible">True</property>
                 <property name="halign">start</property>
                 <property name="margin-left">0</property>
+                <style>
+                  <class name="dim-label" />
+                </style>
               </object>
               <packing>
                 <property name="width">1</property>
@@ -103,6 +109,7 @@
                 <property name="visible">True</property>
                 <property name="margin-start">20</property>
                 <property name="hexpand">True</property>
+                <property name="use-markup">True</property>
                 <style>
                   <class name="dim-label" />
                 </style>
diff --git a/src/userList.js b/src/userList.js
index 33a3d53..ae8ad1a 100644
--- a/src/userList.js
+++ b/src/userList.js
@@ -251,7 +251,7 @@ const UserDetails = new Lang.Class({
         if (!fn)
             fn = this._user.alias;
 
-        this._fullnameLabel.label = fn;
+        this._fullnameLabel.label = '<small>' + fn + '</small>';
         this._userIcon.visible = true;
 
         if (last) {


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