mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
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:
parent
9e82d2b843
commit
a924b820c2
@ -17,6 +17,10 @@
|
|||||||
<property name="vscrollbar-policy">always</property>
|
<property name="vscrollbar-policy">always</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkColumnView" id="view">
|
<object class="GtkColumnView" id="view">
|
||||||
|
<style>
|
||||||
|
<class name="data-table"/>
|
||||||
|
<class name="list"/>
|
||||||
|
</style>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkColumnViewColumn">
|
<object class="GtkColumnViewColumn">
|
||||||
<property name="title" translatable="yes">Label</property>
|
<property name="title" translatable="yes">Label</property>
|
||||||
|
@ -594,7 +594,6 @@ setup_label (GtkSignalListItemFactory *factory,
|
|||||||
|
|
||||||
label = gtk_label_new (NULL);
|
label = gtk_label_new (NULL);
|
||||||
gtk_label_set_xalign (GTK_LABEL (label), 0.);
|
gtk_label_set_xalign (GTK_LABEL (label), 0.);
|
||||||
gtk_widget_set_valign (label, GTK_ALIGN_START);
|
|
||||||
gtk_list_item_set_child (list_item, label);
|
gtk_list_item_set_child (list_item, label);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -135,6 +135,10 @@
|
|||||||
<property name="propagate-natural-width">1</property>
|
<property name="propagate-natural-width">1</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkColumnView" id="node_property_tree">
|
<object class="GtkColumnView" id="node_property_tree">
|
||||||
|
<style>
|
||||||
|
<class name="data-table"/>
|
||||||
|
<class name="list"/>
|
||||||
|
</style>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkColumnViewColumn">
|
<object class="GtkColumnViewColumn">
|
||||||
<property name="title" translatable="yes">Property</property>
|
<property name="title" translatable="yes">Property</property>
|
||||||
@ -174,6 +178,10 @@
|
|||||||
<property name="propagate-natural-width">1</property>
|
<property name="propagate-natural-width">1</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkColumnView" id="event_property_tree">
|
<object class="GtkColumnView" id="event_property_tree">
|
||||||
|
<style>
|
||||||
|
<class name="data-table"/>
|
||||||
|
<class name="list"/>
|
||||||
|
</style>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkColumnViewColumn">
|
<object class="GtkColumnViewColumn">
|
||||||
<property name="title" translatable="yes">Property</property>
|
<property name="title" translatable="yes">Property</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user