[FIXED] [#741] [3.2.0] Set scale

  1. #1

    [FIXED] [#741] [3.2.0] Set scale

    On the following sample, when button is clicked, its scale is set to large but unfortunately with no visual effect. It works at version 2.5.

    <!DOCTYPE html>
    <html>
    <head runat="server">
    </head>
    <body>
        <form runat="server">
            <ext:ResourceManager ScriptMode="Debug" Theme="Crisp" runat="server" />
            <ext:Button Text="Click Me" runat="server">
                <Listeners>
                    <Click Handler="item.setScale('large');" />
                </Listeners>
            </ext:Button>
        </form>
    </body>
    </html>
    Thanks in advance.
  2. #2
    Hello Raphael!

    That seems to be an issue with ExtJS. The inner btnWrap element of buttons are now receiving UI and scale CSS classes, but they are not traversed again once setUI() is called.

    To fix that I believe we can either make setUI() traverse the inner elements to resolve the bound classes or just redraw the button.

    I've created the GitHub issue #741 to track this problem.

    Edit: This should have been fixed (by redrawing the button approach) in SVN #6395. We're looking forward for your positive feedback. It is scheduled to go to Ext.NET v3.2.0.
    Last edited by fabricio.murta; Mar 03, 2015 at 8:11 PM.
    Fabrício Murta
    Developer & Support Expert
  3. #3
    By the way, I couldn't find an open issue or anything about that in sencha forums. Maybe I just searched for the wrong patterns. Or just that people rarely uses this feature and nobody among their community noticed it yet.
    Fabrício Murta
    Developer & Support Expert
  4. #4

Similar Threads

  1. Replies: 10
    Last Post: Sep 20, 2017, 2:31 AM
  2. Replies: 4
    Last Post: Mar 18, 2014, 4:04 AM
  3. Replies: 3
    Last Post: Jul 13, 2012, 10:28 AM
  4. [CLOSED] Button Scale? What does it do?
    By wagger in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Apr 07, 2011, 7:38 PM
  5. [FIXED] [0.8.3] TimeField Bug
    By Timothy in forum Bugs
    Replies: 10
    Last Post: Jan 31, 2010, 4:06 PM

Posting Permissions