ui: fix align mode of two column container

'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>
This commit is contained in:
Dominik Csapak 2024-04-24 13:39:45 +02:00 committed by Fiona Ebner
parent d4191941ff
commit 3a9037ba25

View File

@ -10,7 +10,7 @@ Ext.define('PVE.container.TwoColumnContainer', {
layout: { layout: {
type: 'hbox', type: 'hbox',
align: 'stretch', align: 'begin',
}, },
// The default ratio of the start widget. It an be an integer or a floating point number // The default ratio of the start widget. It an be an integer or a floating point number