]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
object grid: line-wrap cleanup
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 23 May 2021 14:23:17 +0000 (16:23 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 23 May 2021 14:23:17 +0000 (16:23 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/grid/ObjectGrid.js

index 16feb42a298edc770b21128b386218dca0740c6f..e19a1063e847d9109612c3869e96e1741de01f1e 100644 (file)
@@ -109,8 +109,7 @@ Ext.define('Proxmox.grid.ObjectGrid', {
                    name: name,
                    deleteEmpty: !!opts.deleteEmpty,
                    emptyText: opts.defaultValue,
-                   labelWidth: Proxmox.Utils.compute_min_label_width(
-                       text, opts.labelWidth),
+                   labelWidth: Proxmox.Utils.compute_min_label_width(text, opts.labelWidth),
                    vtype: opts.vtype,
                    fieldLabel: text,
                },
@@ -143,8 +142,7 @@ Ext.define('Proxmox.grid.ObjectGrid', {
                    defaultValue: opts.defaultValue || 0,
                    checked: !!opts.defaultValue,
                    deleteDefaultValue: !!opts.deleteDefaultValue,
-                   labelWidth: Proxmox.Utils.compute_min_label_width(
-                       text, opts.labelWidth),
+                   labelWidth: Proxmox.Utils.compute_min_label_width(text, opts.labelWidth),
                    fieldLabel: text,
                },
            },
@@ -177,8 +175,7 @@ Ext.define('Proxmox.grid.ObjectGrid', {
                    emptyText: gettext('Default'),
                    deleteEmpty: !!opts.deleteEmpty,
                    value: opts.defaultValue,
-                   labelWidth: Proxmox.Utils.compute_min_label_width(
-                       text, opts.labelWidth),
+                   labelWidth: Proxmox.Utils.compute_min_label_width(text, opts.labelWidth),
                    fieldLabel: text,
                },
            },