diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-08-25 14:47:30 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-08-25 14:48:12 -0400 |
commit | 27cba99045db1896c7600c26907fd90f84e24ff7 (patch) | |
tree | 292081b773b40abeb24f59fda32f8781dd4a729e /data | |
parent | e436947ff067765129a91c4acfa18206dc6f6b7a (diff) |
theme: let notifications wrap
infinitely wide notification popups are hard to read
Diffstat (limited to 'data')
-rw-r--r-- | data/elementary/themes/edc/notification.edc | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/data/elementary/themes/edc/notification.edc b/data/elementary/themes/edc/notification.edc index ab5d5252c8..ae93d03ba4 100644 --- a/data/elementary/themes/edc/notification.edc +++ b/data/elementary/themes/edc/notification.edc | |||
@@ -77,8 +77,10 @@ group { name: "e/modules/notification/main"; | |||
77 | } | 77 | } |
78 | part { name: "notification.textblock.message"; type: TEXTBLOCK; mouse_events: 0; | 78 | part { name: "notification.textblock.message"; type: TEXTBLOCK; mouse_events: 0; |
79 | clip_to: "bodyclip"; | 79 | clip_to: "bodyclip"; |
80 | scale; | ||
80 | description { state: "default" 0.0; | 81 | description { state: "default" 0.0; |
81 | align: 0.0 0.0; | 82 | align: 0.0 0.0; |
83 | min: 260 40; | ||
82 | rel1.to_x: "notification.swallow.app_icon"; | 84 | rel1.to_x: "notification.swallow.app_icon"; |
83 | rel1.to_y: "notification.text.title"; | 85 | rel1.to_y: "notification.text.title"; |
84 | rel1.relative: 1.0 1.0; | 86 | rel1.relative: 1.0 1.0; |
@@ -87,23 +89,6 @@ group { name: "e/modules/notification/main"; | |||
87 | text { style: "notification_style"; | 89 | text { style: "notification_style"; |
88 | min: 0 1; | 90 | min: 0 1; |
89 | } | 91 | } |
90 | fixed: 1 1; | ||
91 | } | ||
92 | } | ||
93 | part { name: "message"; type: TEXTBLOCK; mouse_events: 0; | ||
94 | description { state: "default" 0.0; | ||
95 | align: 0.0 0.0; | ||
96 | max: 500 99999; | ||
97 | rel1.to_x: "notification.swallow.app_icon"; | ||
98 | rel1.to_y: "notification.text.title"; | ||
99 | rel1.relative: 1.0 1.0; | ||
100 | rel1.offset: 4 4; | ||
101 | rel2.offset: -27 -11; | ||
102 | text { style: "notification_style_nowrap"; | ||
103 | text_source: "notification.textblock.message"; | ||
104 | min: 0 1; | ||
105 | } | ||
106 | visible: 0; | ||
107 | } | 92 | } |
108 | } | 93 | } |
109 | part { name: "notification.text.title"; type: TEXT; mouse_events: 0; | 94 | part { name: "notification.text.title"; type: TEXT; mouse_events: 0; |