mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-01 18:02:01 +00:00
object grid: line-wrap cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
52d3f3b019
commit
d00e8b940a
@ -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,
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user