From c782922a238df68bc6ff36d4e67e9f77c0e91ca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20M=C3=ADchal?= Date: Sat, 6 Dec 2025 02:04:44 +0200 Subject: [PATCH] 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. --- plug-ins/map-object/map-object-ui.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/plug-ins/map-object/map-object-ui.c b/plug-ins/map-object/map-object-ui.c index f609018b67..47472d3fa7 100644 --- a/plug-ins/map-object/map-object-ui.c +++ b/plug-ins/map-object/map-object-ui.c @@ -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",