mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-17 07:30:09 +00:00
gtkplacesview: align spinner with header label
Use the box margin top instead of the label margin top, so the spinner remains aligned with the header label. https://bugzilla.gnome.org/show_bug.cgi?id=756568
This commit is contained in:
parent
9cc3e63045
commit
c3686838ea
@ -1969,12 +1969,12 @@ listbox_header_func (GtkListBoxRow *row,
|
||||
GtkWidget *separator;
|
||||
|
||||
header = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
|
||||
gtk_widget_set_margin_top (header, 6);
|
||||
|
||||
separator = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
|
||||
|
||||
label = g_object_new (GTK_TYPE_LABEL,
|
||||
"use_markup", TRUE,
|
||||
"margin-top", 6,
|
||||
"margin-start", 12,
|
||||
"label", text,
|
||||
"xalign", 0.0f,
|
||||
|
Loading…
Reference in New Issue
Block a user