projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e07710
)
inspector: Fix an oversight
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 10 Jun 2023 14:26:25 +0000
(10:26 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 10 Jun 2023 15:09:50 +0000
(11:09 -0400)
There is no margin property, so don't set it.
gtk/inspector/size-groups.c
patch
|
blob
|
history
diff --git
a/gtk/inspector/size-groups.c
b/gtk/inspector/size-groups.c
index e97604c85705c4e34c9f1c57bd1e631e523361a9..824b1fcee2d639a4a9b297cae0e4c54188e61931 100644
(file)
--- a/
gtk/inspector/size-groups.c
+++ b/
gtk/inspector/size-groups.c
@@
-247,7
+247,12
@@
add_size_group (GtkInspectorSizeGroups *sl,
gtk_box_append (GTK_BOX (box2), label);
dropdown = gtk_drop_down_new_from_strings (modes);
- g_object_set (dropdown, "margin", 10, NULL);
+ g_object_set (dropdown,
+ "margin-start", 10,
+ "margin-end", 10,
+ "margin-top", 10,
+ "margin-bottom", 10,
+ NULL);
gtk_widget_set_halign (dropdown, GTK_ALIGN_END);
gtk_widget_set_valign (dropdown, GTK_ALIGN_BASELINE_FILL);
g_object_bind_property (group, "mode",