[gnome-boxes/ellipsize-notification-message-label] notification: Limit Notification message from expanding out of the window
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/ellipsize-notification-message-label] notification: Limit Notification message from expanding out of the window
- Date: Tue, 9 Jun 2020 09:37:44 +0000 (UTC)
commit f9cff2756e722f6d0ea4c4dab2d44c66ad75ac66
Author: Felipe Borges <felipeborges gnome org>
Date: Tue Jun 9 11:32:42 2020 +0200
notification: Limit Notification message from expanding out of the window
This is more evident for long messages such as
"Source installer media '%s' no longer exists", where the path
can make the label expand a lot.
data/ui/notification.ui | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/data/ui/notification.ui b/data/ui/notification.ui
index f7ce0dac..66b4d019 100644
--- a/data/ui/notification.ui
+++ b/data/ui/notification.ui
@@ -21,12 +21,16 @@
<child>
<object class="GtkLabel" id="message_label">
<property name="visible">True</property>
+ <property name="ellipsize">end</property>
+ <property name="lines">3</property>
+ <property name="wrap">True</property>
</object>
</child>
<child>
<object class="GtkButton" id="ok_button">
<property name="halign">end</property>
+ <property name="valign">end</property>
<child>
<object class="GtkLabel" id="ok_button_label">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]