With this change, Spinner supports well the enabled property:
qx.ui.core.Parent.prototype._modifyEnabled = function(val) {
qx.ui.core.Widget.prototype._modifyEnabled.apply(this, arguments);
var h = this.getChildren();
for (var i = 0; i < h.length; i++) {
h[i].setEnabled(val);
}
}
The only problem, is that for some widgets it overwrites the enabled state
of their children. It is ok for the Spinner and many compound widgets like
ComboBox, but could not be for some others.
What do you think?
dperez wrote:
>
> Hi,
>
> Some widgets like qx.ui.form.FieldText correctly implement the enabled
> property, but others like Spinner and Table don't react to this property.
>
> Maybe because they are containers. Could containers change the enabled
> state of their children?
>
> Regards,
> David
>
--
View this message in context:
http://www.nabble.com/Enabled-property-tf3327778.html#a9252680
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel