Am 05.12.25 um 15:34 schrieb Dominik Csapak: > For some reason, using a space separated list of classes in `itemCls` > breaks the extjs debug mode. This is seemingly allowed everywhere else, > so to fix it, simply apply the classes directly to the children > with 'default'.
This is what I mentioned off-list a two weeks or so ago, I lost track off it so thx for checking again. > > Signed-off-by: Dominik Csapak <[email protected]> > --- > src/form/RRDTypeSelector.js | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/src/form/RRDTypeSelector.js b/src/form/RRDTypeSelector.js > index bbb5d86..51ae23a 100644 > --- a/src/form/RRDTypeSelector.js > +++ b/src/form/RRDTypeSelector.js > @@ -75,7 +75,9 @@ Ext.define('Proxmox.form.RRDTypeSelector', { > xtype: 'segmentedbutton', > allowMultiple: false, > allowToggle: true, > - itemCls: 'x-btn-default-toolbar-small proxmox-inline-button', > + defautl: { > + cls: 'x-btn-default-toolbar-small proxmox-inline-button', > + }, using an array makes it work too here: itemCls: ['x-btn-default-toolbar-small', 'proxmox-inline-button'], But your variant is probably the slightly nicer one I think. > items: [ > { > text: gettext('Maximum'), _______________________________________________ pve-devel mailing list [email protected] https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
