mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
inspector: Make resource list columns resizable
This tree has the potential to be deep, and contain long names, so it forces the window to be wide, unless we allow the columns to shrink.
This commit is contained in:
parent
7b20bb917f
commit
615e4332ef
@ -37,10 +37,14 @@
|
||||
<child>
|
||||
<object class="GtkTreeViewColumn">
|
||||
<property name="title" translatable="yes">Path</property>
|
||||
<property name="resizable">True</property>
|
||||
<property name="sort-column-id">0</property>
|
||||
<child>
|
||||
<object class="GtkCellRendererText">
|
||||
<property name="scale">0.8</property>
|
||||
<property name="ellipsize">end</property>
|
||||
<property name="width-chars">10</property>
|
||||
<property name="max-width-chars">5</property>
|
||||
</object>
|
||||
<attributes>
|
||||
<attribute name="text">0</attribute>
|
||||
@ -51,6 +55,7 @@
|
||||
<child>
|
||||
<object class="GtkTreeViewColumn" id="count_column">
|
||||
<property name="title" translatable="yes">Count</property>
|
||||
<property name="resizable">True</property>
|
||||
<property name="sort-column-id">1</property>
|
||||
<child>
|
||||
<object class="GtkCellRendererText" id="count_renderer">
|
||||
@ -62,6 +67,7 @@
|
||||
<child>
|
||||
<object class="GtkTreeViewColumn" id="size_column">
|
||||
<property name="title" translatable="yes">Size</property>
|
||||
<property name="resizable">True</property>
|
||||
<property name="sort-column-id">2</property>
|
||||
<child>
|
||||
<object class="GtkCellRendererText" id="size_renderer">
|
||||
|
Loading…
Reference in New Issue
Block a user