widgets: Center buttons in OverlayDialog
Resolves #15215 The GtkButtonBox that holds the overlay buttons in GimpOverlayDialog were set to GTK_BUTTONBOX_END, which caused them to go offscreen on one side on the smaller overlays like Scale and Sheer. This patch changes the layout style to GTK_BUTTONBOX_CENTER to ensure the buttons are centered within the overlay.
This commit is contained in:
parent
227ca86923
commit
2e6bb273dd
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ gimp_overlay_dialog_init (GimpOverlayDialog *dialog)
|
|||
|
||||
dialog->action_area = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL);
|
||||
gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog->action_area),
|
||||
GTK_BUTTONBOX_END);
|
||||
GTK_BUTTONBOX_CENTER);
|
||||
gtk_widget_set_parent (dialog->action_area, GTK_WIDGET (dialog));
|
||||
gtk_widget_show (dialog->action_area);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue