Commit 6a6f4b71 authored by Felipe Borges's avatar Felipe Borges
Browse files

printers: Wrap GtkListBox inside a GtkBox

In order to vertically align the printers panel content by the
same standards as the other panels, we should set the GtkListBox
top and bottom margins to 32px.

This commit wraps GtkListBox inside a GtkBox to handle the Gtk+
issues discussed in Bug 773459 regarding the background of ListBox
margins.

This commit can be cleanly reverted once the issue is fixed in
Gtk+.

https://bugzilla.gnome.org/show_bug.cgi?id=786384
parent 5fd6b5b6
......@@ -132,13 +132,18 @@
<property name="min-content-height">490</property>
<property name="vexpand">True</property>
<child>
<object class="GtkListBox" id="content">
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="selection-mode">GTK_SELECTION_NONE</property>
<style>
<class name="background"/>
</style>
<child>
<object class="GtkListBox" id="content">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="selection-mode">GTK_SELECTION_NONE</property>
<style>
<class name="background"/>
</style>
</object>
</child>
</object>
</child>
</object>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment