public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH manager] ui: fix height 'extra cpu flags' field in create wizard
@ 2023-06-15  8:08 Dominik Csapak
  2023-06-15  8:10 ` Dominik Csapak
  2023-11-06 16:31 ` Thomas Lamprecht
  0 siblings, 2 replies; 5+ messages in thread
From: Dominik Csapak @ 2023-06-15  8:08 UTC (permalink / raw)
  To: pve-devel

this field has a fixed height, which is too tall for the create wizard,
and one cannot see the last entry when scrolling all the way down.

to fix this, make it 20px shorter

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
alternatively we could also increase the height in the create wizard

the optimal solution would be to improve the layouting in our
wizard/inputpanel altogether so that it automatically gets the right
height, but that is a non-trivial rework there. imho this should work
fine as a stopgap fix for now

(feel free to put above comment into the commit message if it seems
appropriate)

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

diff --git a/www/manager6/form/VMCPUFlagSelector.js b/www/manager6/form/VMCPUFlagSelector.js
index ace3c531..03a119ab 100644
--- a/www/manager6/form/VMCPUFlagSelector.js
+++ b/www/manager6/form/VMCPUFlagSelector.js
@@ -12,7 +12,7 @@ Ext.define('PVE.form.VMCPUFlagSelector', {
     hideHeaders: true,
 
     scrollable: 'y',
-    height: 200,
+    height: 180,
 
     unkownFlags: [],
 
-- 
2.30.2





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

end of thread, other threads:[~2023-11-07  7:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-15  8:08 [pve-devel] [PATCH manager] ui: fix height 'extra cpu flags' field in create wizard Dominik Csapak
2023-06-15  8:10 ` Dominik Csapak
2023-11-06 16:31 ` Thomas Lamprecht
2023-11-07  7:50   ` Dominik Csapak
2023-11-07  7:56     ` Thomas Lamprecht

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