mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 12:41:16 +00:00
gtk-demo: make the sidebar request proper width
- 25 chars sounds about right for the texts we use - don't use min width so we allow shrinking the widget (large text or small mobile devices) - ellipsize the text instead of clipping it.
This commit is contained in:
parent
0d7069452b
commit
ac6f18da12
@ -10,6 +10,8 @@
|
||||
<property name="child">
|
||||
<object class="GtkInscription">
|
||||
<property name="hexpand">1</property>
|
||||
<property name="nat-chars">25</property>
|
||||
<property name="text-overflow">ellipsize-end</property>
|
||||
<binding name="text">
|
||||
<lookup name="title" type="GtkDemo">
|
||||
<lookup name="item">expander</lookup>
|
||||
|
Loading…
Reference in New Issue
Block a user