public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Michal Fox <me@dualfroz.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH manager] fix #5352: ui: sdn: status: make the list scrollable
Date: Sun,  4 Oct 2026 10:57:36 +0000	[thread overview]
Message-ID: <20261004105736.7-1-me@dualfroz.com> (raw)

The status grid is the only item of a vbox layout, but has no flex set.
So it gets as high as all its rows need, and if those do not fit on the
screen, the rest is cut off without any way to scroll to them.

Let the grid fill the available height, so it shows a scrollbar
instead.

Signed-off-by: Michal Fox <me@dualfroz.com>
---
Tested in the browser with the SDN panel and 75 mocked zone entries:
before, the grid was about 2000px high in a 500px high panel and cut
off, now it fills the panel and can be scrolled to the last entry.
Collapsing and expanding the grid still works.

 www/manager6/sdn/Status.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/sdn/Status.js b/www/manager6/sdn/Status.js
index d73b49c9..b287ef4c 100644
--- a/www/manager6/sdn/Status.js
+++ b/www/manager6/sdn/Status.js
@@ -31,6 +31,7 @@ Ext.define('PVE.sdn.Status', {
                 border: 0,
                 collapsible: true,
                 padding: '0 0 20 0',
+                flex: 1,
             },
         ];
 
-- 
2.43.0




                 reply	other threads:[~2026-10-04 10:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261004105736.7-1-me@dualfroz.com \
    --to=me@dualfroz.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal