We had a single column for the CD/DVD panel, fill the second column
with the now in size reduced OS type selector, as ISO selection and
OS type selection are tied together.
Reduces steps needed for creating a VM.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
boxLabel: gettext('Do not use any media')
});
- if (me.insideWizard) {
- me.column1 = items;
- } else {
- me.items = items;
- }
+ me.items = items;
me.callParent();
}
}
},
{
- xtype: 'pveQemuCDInputPanel',
- reference: 'cdpanel',
- title: gettext('CD/DVD'),
- confid: 'ide2',
- fieldDefaults: {
- labelWidth: 160
+ xtype: 'container',
+ layout: 'hbox',
+ defaults: {
+ flex: 1,
+ padding: '0 10'
},
- insideWizard: true
- },
- {
title: gettext('OS'),
- xtype: 'pveQemuOSTypePanel',
- insideWizard: true
+ items: [
+ {
+ xtype: 'pveQemuCDInputPanel',
+ reference: 'cdpanel',
+ confid: 'ide2',
+ insideWizard: true
+ },
+ {
+ xtype: 'pveQemuOSTypePanel',
+ insideWizard: true
+ }
+ ]
},
{
xtype: 'pveQemuHDInputPanel',