[polari/wip/raresv/popoverRebasedOnTracker] update the max-width-chars property of the fullname label in the UserDetails class
- From: Rares Visalom <raresvisalom src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/raresv/popoverRebasedOnTracker] update the max-width-chars property of the fullname label in the UserDetails class
- Date: Mon, 25 Jul 2016 11:00:35 +0000 (UTC)
commit 62263bc07f7f3d3229062ad5cb188f64b932652a
Author: raresv <rares visalom gmail com>
Date: Mon Jul 25 14:00:20 2016 +0300
update the max-width-chars property of the fullname label in the UserDetails class
src/userList.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/userList.js b/src/userList.js
index b02348d..972f6bf 100644
--- a/src/userList.js
+++ b/src/userList.js
@@ -144,8 +144,7 @@ const UserDetails = new Lang.Class({
this.bind_property('notifications-enabled', this._notificationIcon, 'visible',
GObject.BindingFlags.SYNC_CREATE);
this.bind_property('notifications-enabled', this._notificationLabel, 'visible',
GObject.BindingFlags.SYNC_CREATE);
- this._fullnameLabel.ellipsize = Pango.EllipsizeMode.END;
- this._fullnameLabel.max_width_chars = MAX_USERS_WIDTH_CHARS;
+ this._fullnameLabel.max_width_chars = 50;
},
set user(user) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]