]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: window settings: use column layout
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 23 Oct 2019 16:18:08 +0000 (18:18 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 23 Oct 2019 16:18:09 +0000 (18:18 +0200)
This change shouldn't be noticeable, main advantage is that we can
add a top or botton spanning row for hints or a save/restore feature
(in the future)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/window/Settings.js

index 0a6247fcd769506c76570bac8d9ee5a4fa05f8fe..35b320f1f1b4a6af461686ca7ca724d626c2ac67 100644 (file)
@@ -24,7 +24,7 @@ Ext.define('PVE.window.Settings', {
     ],
 
     layout: {
-       type: 'hbox',
+       type: 'column',
        align: 'top'
     },
 
@@ -169,7 +169,7 @@ Ext.define('PVE.window.Settings', {
 
     items: [{
        xtype: 'fieldset',
-       width: '50%',
+       columnWidth: 0.5,
        title: gettext('Webinterface Settings'),
        margin: '5',
        layout: {
@@ -262,10 +262,11 @@ Ext.define('PVE.window.Settings', {
                ]
            },
        ]
-    },{
+    },
+    {
        xtype: 'container',
        layout: 'vbox',
-       width: '50%',
+       columnWidth: 0.5,
        margin: '5',
        defaults: {
            width: '100%',