Ellipsis in title and msg of alert
This commit is contained in:
parent
8d4298ee9e
commit
cd449e7149
@ -98,10 +98,12 @@ class Alert(Gtk.EventBox):
|
||||
self._msg_box = Gtk.VBox()
|
||||
self._title_label = Gtk.Label()
|
||||
self._title_label.set_alignment(0, 0.5)
|
||||
self._title_label.set_ellipsize(style.ELLIPSIZE_MODE_DEFAULT)
|
||||
self._msg_box.pack_start(self._title_label, False, False, 0)
|
||||
|
||||
self._msg_label = Gtk.Label()
|
||||
self._msg_label.set_alignment(0, 0.5)
|
||||
self._msg_label.set_ellipsize(style.ELLIPSIZE_MODE_DEFAULT)
|
||||
self._msg_box.pack_start(self._msg_label, False, False, 0)
|
||||
self._hbox.pack_start(self._msg_box, False, False, 0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user