plug-ins/map-object: Expand frame holding GimpSpinScale widgets
Without setting either the scales or the frame to expand the maximum width the scales will assume is their natural one. Expanding them prevents the two columns of widgets to appear "squished". Fixes #15388.
This commit is contained in:
parent
50923f7d76
commit
c782922a23
1 changed files with 10 additions and 8 deletions
|
|
@ -583,10 +583,11 @@ main_dialog (GimpProcedure *procedure,
|
|||
"first-axis-y",
|
||||
"first-axis-z",
|
||||
NULL);
|
||||
gimp_procedure_dialog_fill_frame (GIMP_PROCEDURE_DIALOG (appwin),
|
||||
"first-axis-frame",
|
||||
"first-axis-label", FALSE,
|
||||
"first-axis-box");
|
||||
frame = gimp_procedure_dialog_fill_frame (GIMP_PROCEDURE_DIALOG (appwin),
|
||||
"first-axis-frame",
|
||||
"first-axis-label", FALSE,
|
||||
"first-axis-box");
|
||||
gtk_widget_set_hexpand (frame, TRUE);
|
||||
|
||||
gimp_procedure_dialog_get_spin_scale (GIMP_PROCEDURE_DIALOG (appwin),
|
||||
"second-axis-x", 1.0);
|
||||
|
|
@ -603,10 +604,11 @@ main_dialog (GimpProcedure *procedure,
|
|||
"second-axis-y",
|
||||
"second-axis-z",
|
||||
NULL);
|
||||
gimp_procedure_dialog_fill_frame (GIMP_PROCEDURE_DIALOG (appwin),
|
||||
"second-axis-frame",
|
||||
"second-axis-label", FALSE,
|
||||
"second-axis-box");
|
||||
frame = gimp_procedure_dialog_fill_frame (GIMP_PROCEDURE_DIALOG (appwin),
|
||||
"second-axis-frame",
|
||||
"second-axis-label", FALSE,
|
||||
"second-axis-box");
|
||||
gtk_widget_set_hexpand (frame, TRUE);
|
||||
|
||||
hbox = gimp_procedure_dialog_fill_box (GIMP_PROCEDURE_DIALOG (appwin),
|
||||
"axis-box",
|
||||
|
|
|
|||
Loading…
Reference in a new issue