Issue Bug Closed

#24082Bug: missing CSS style for pressed buttons in ExtJS - no brain

Fabien Udriot 11/16/10, 19:13 updated 03/29/11, 23:42

Description

Problem:
====
With ExtJS it is possible to define a toggle button but unfortunately there are not styled applied to .x-btn-pressed and therefore it is not possible to see the difference with a non-pressed button.

ExtJS snippet:
{
pressed: false,
enableToggle: true,
text: TYPO3.Devlog.Language.auto_refresh,
cls: ‘x-btn-text-icon reload’,
toggleHandler: this.ontoggleautorefresh
}

Solution:
=====
Define a style for selector .x-btn-pressed. I suggest to use the same as .x-btn-over which is a straightforward approach as it makes the button appear “pressed”.

(issue imported from #M16421)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.