Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button's setScale is not working #741

Closed
fabriciomurta opened this issue Mar 3, 2015 · 1 comment
Closed

Button's setScale is not working #741

fabriciomurta opened this issue Mar 3, 2015 · 1 comment

Comments

@fabriciomurta
Copy link
Contributor

Ext.button.Button makes an inner btnWrap and button (inside the main button frame) which now has also the UI and scale classes specified.

The inner elements of the button do not support the setUI() method as they are not Ext.Component instances.

So, either a way to rebind the classes to child elements of buttons is created or re-draw the buttons when setScale() is called.

@fabriciomurta fabriciomurta added this to the Release 3.2.0 milestone Mar 3, 2015
@fabriciomurta fabriciomurta self-assigned this Mar 3, 2015
@fabriciomurta
Copy link
Contributor Author

Couldn't find an issue about this on sencha forums.

SVN revision 6395 applies the redraw approach to the setScale routine.

The issue could be reproduced on http://fiddle.sencha.com/ for ExtJS 5.1.x.

The underlying function setUI() does not work as expected on Ext.NET 2.x nor 3.x, and neither on Sencha's fiddle.

This change is expected to be launched on Ext.NET version 3.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant