inspector: Use more compact list styles

Use the same style classes throughout for
data lists that benefit from smaller fonts.
This commit is contained in:
Matthias Clasen 2022-10-04 23:23:54 -04:00
parent 9e82d2b843
commit a924b820c2
3 changed files with 12 additions and 1 deletions

View File

@ -17,6 +17,10 @@
<property name="vscrollbar-policy">always</property>
<child>
<object class="GtkColumnView" id="view">
<style>
<class name="data-table"/>
<class name="list"/>
</style>
<child>
<object class="GtkColumnViewColumn">
<property name="title" translatable="yes">Label</property>

View File

@ -594,7 +594,6 @@ setup_label (GtkSignalListItemFactory *factory,
label = gtk_label_new (NULL);
gtk_label_set_xalign (GTK_LABEL (label), 0.);
gtk_widget_set_valign (label, GTK_ALIGN_START);
gtk_list_item_set_child (list_item, label);
}

View File

@ -135,6 +135,10 @@
<property name="propagate-natural-width">1</property>
<child>
<object class="GtkColumnView" id="node_property_tree">
<style>
<class name="data-table"/>
<class name="list"/>
</style>
<child>
<object class="GtkColumnViewColumn">
<property name="title" translatable="yes">Property</property>
@ -174,6 +178,10 @@
<property name="propagate-natural-width">1</property>
<child>
<object class="GtkColumnView" id="event_property_tree">
<style>
<class name="data-table"/>
<class name="list"/>
</style>
<child>
<object class="GtkColumnViewColumn">
<property name="title" translatable="yes">Property</property>