summaryrefslogtreecommitdiff
path: root/gtk/inspector/object-tree.ui
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-11-10 17:36:33 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-11-10 17:36:33 -0500
commite9449f60146815d83b3b33d36af1f51a0b5b96ee (patch)
tree27badc918840fce618d67b83c9b5513a48920da3 /gtk/inspector/object-tree.ui
parent774b6f94d5d4b75d8fc246e51909db6e2623cc6c (diff)
downloadgtk+-e9449f60146815d83b3b33d36af1f51a0b5b96ee.tar.gz
inspector: Don't grow horizontally
Labels in the object tree are application data. Ellipsize them to avoid growing extremely wide if the data is bogus.
Diffstat (limited to 'gtk/inspector/object-tree.ui')
-rw-r--r--gtk/inspector/object-tree.ui2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/inspector/object-tree.ui b/gtk/inspector/object-tree.ui
index 2b93eb0609..01674bd3cf 100644
--- a/gtk/inspector/object-tree.ui
+++ b/gtk/inspector/object-tree.ui
@@ -126,6 +126,8 @@
<child>
<object class="GtkCellRendererText">
<property name="scale">0.8</property>
+ <property name="ellipsize">end</property>
+ <property name="max-width-chars">30</property>
</object>
<attributes>
<attribute name="text">3</attribute>