[gtk+] inspector: Don't grow horizontally



commit e9449f60146815d83b3b33d36af1f51a0b5b96ee
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Nov 10 17:36:33 2015 -0500

    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.

 gtk/inspector/object-tree.ui |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/inspector/object-tree.ui b/gtk/inspector/object-tree.ui
index 2b93eb0..01674bd 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>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]