all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH installer] gui: set fill and expand to zero for separator
@ 2026-06-19  7:38 Maximiliano Sandoval
  0 siblings, 0 replies; only message in thread
From: Maximiliano Sandoval @ 2026-06-19  7:38 UTC (permalink / raw)
  To: pve-devel; +Cc: Erik Fastermann

Without this change the separator would both move and grow in size if
the disk setup dialog is resized vertically.

As per gtk_box_pack_end documentation:

> @expand: %TRUE if the new child is to be given extra space allocated
>   to @box. The extra space will be divided evenly between all children
>   of @box that use this option
> @fill: %TRUE if space given to @child by the @expand option is
>   actually allocated to @child, rather than just padding it.  This
>   parameter has no effect if @expand is set to %FALSE [...]

Reported-by: Erik Fastermann <e.fastermann@proxmox.com>
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
 proxinstall | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxinstall b/proxinstall
index 49b1612..2a6a7c0 100755
--- a/proxinstall
+++ b/proxinstall
@@ -1646,7 +1646,7 @@ sub create_hdoption_view {
 
     my $sep2 = Gtk3::Separator->new('horizontal');
     $sep2->set_visible(1);
-    $contarea->pack_end($sep2, 1, 1, 10);
+    $contarea->pack_end($sep2, 0, 0, 10);
 
     $dialog->show();
 
-- 
2.47.3





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-19  7:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-19  7:38 [PATCH installer] gui: set fill and expand to zero for separator Maximiliano Sandoval

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal