dialog: Wrap titles
Dialogs should not use titles that are too long to fit, but if they do, wrapping is more appropriate than ellipsizing. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3540>
This commit is contained in:
parent
f95bddb811
commit
fbaead359a
@ -175,6 +175,9 @@ export const MessageDialogContent = GObject.registerClass({
|
||||
this._title = new St.Label({style_class: 'message-dialog-title'});
|
||||
this._description = new St.Label({style_class: 'message-dialog-description'});
|
||||
|
||||
this._title.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
|
||||
this._title.clutter_text.line_wrap = true;
|
||||
|
||||
this._description.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
|
||||
this._description.clutter_text.line_wrap = true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user