mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
ac6f18da12
- 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.
26 lines
843 B
XML
26 lines
843 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<template class="GtkListItem">
|
|
<property name="focusable">0</property>
|
|
<property name="child">
|
|
<object class="GtkTreeExpander" id="expander">
|
|
<binding name="list-row">
|
|
<lookup name="item">GtkListItem</lookup>
|
|
</binding>
|
|
<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>
|
|
</lookup>
|
|
</binding>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</property>
|
|
</template>
|
|
</interface>
|