]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: guest import: use box-label style for prepare-for-virtio checkbox
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Mar 2024 10:45:31 +0000 (11:45 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Mar 2024 10:45:32 +0000 (11:45 +0100)
Aaron originally designed the new "unique MAC address" checkbox after
this one for alignment reasons [0]. I changed it and argued that's
fine if there is a misalignment between those components [1], which I
still think, but tbh. I also like the boxLabel more for the "Prepare
for VirtIO" checkbox, so lets use it there too and hope all are happy
again.

[0]: https://lists.proxmox.com/pipermail/pve-devel/2024-March/062411.html
[1]: https://lists.proxmox.com/pipermail/pve-devel/2024-March/062412.html

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

index 7b6dce6c227595535099b4fb55a2d135f62d72cd..ed6e34c8ebd49eccbae695b1291d6d39b1d2496e 100644 (file)
@@ -665,8 +665,7 @@ Ext.define('PVE.window.GuestImport', {
                column1: [
                    {
                        xtype: 'proxmoxcheckbox',
-                       fieldLabel: gettext('Prepare for VirtIO-SCSI'),
-                       labelWidth: 200,
+                       boxLabel: gettext('Prepare for VirtIO-SCSI'),
                        reference: 'prepareForVirtIO',
                        name: 'prepareForVirtIO',
                        submitValue: false,