Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

If you declare an iconAlign, at the time of setting it there is no text ... #12

Merged
merged 1 commit into from

2 participants

@intellix

...so it makes it 'center' rather than what was specified. Once the text has been set, you need to refresh the alignment.

@intellix intellix If you declare an iconAlign, at the time of setting it there is no te…
…xt so it makes it 'center' rather than what was specified. Once the text has been set, you need to refresh the alignment.
753f190
@mitchellsimoens mitchellsimoens merged commit 3d2357b into from
@mitchellsimoens

True enough. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 18, 2012
  1. @intellix

    If you declare an iconAlign, at the time of setting it there is no te…

    intellix authored
    …xt so it makes it 'center' rather than what was specified. Once the text has been set, you need to refresh the alignment.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  Ux/locale/override/st/Button.js
View
1  Ux/locale/override/st/Button.js
@@ -22,6 +22,7 @@ Ext.define('Ux.locale.override.st.Button', {
if (Ext.isString(text)) {
me.setText(text);
+ me.refreshIconAlign();
}
}
Something went wrong with that request. Please try again.