public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH manager] ui: fix align mode of two column container
@ 2024-04-24 11:39 Dominik Csapak
  2024-06-12 13:57 ` [pve-devel] applied: " Fiona Ebner
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2024-04-24 11:39 UTC (permalink / raw)
  To: pve-devel

'stretch' is most often the wrong value, as that will stretch
everything, to the height of the whole container, including fields.
That is not desirable, since fields look not good when stretched this
way (e.g. the controls are not correctly aligned).

To fix it, simply set it to 'begin'.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
noticed that the 'zstd thread' field was strechted in the backup
advanced panel when using the german language...

 www/manager6/container/TwoColumnContainer.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/container/TwoColumnContainer.js b/www/manager6/container/TwoColumnContainer.js
index e8e5fca9..b7bf735a 100644
--- a/www/manager6/container/TwoColumnContainer.js
+++ b/www/manager6/container/TwoColumnContainer.js
@@ -10,7 +10,7 @@ Ext.define('PVE.container.TwoColumnContainer', {
 
     layout: {
 	type: 'hbox',
-	align: 'stretch',
+	align: 'begin',
     },
 
     // The default ratio of the start widget. It an be an integer or a floating point number
-- 
2.39.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-12 13:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-24 11:39 [pve-devel] [PATCH manager] ui: fix align mode of two column container Dominik Csapak
2024-06-12 13:57 ` [pve-devel] applied: " Fiona Ebner

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