1. #1
    Sencha - Support Team keckeroo's Avatar
    Join Date
    Mar 2008
    Location
    Winnipeg, Canada
    Posts
    298
    Vote Rating
    9
    keckeroo will become famous soon enough

      0  

    Exclamation [2.2] Ext.action setText quirks

    [2.2] Ext.action setText quirks


    I have the following definition :

    Code:
    icaMail.quickBtn = new Ext.Action({
       iconCls: 'icon-mail-unread',
       text: '',
       handler: function() {
          // blah 
       }
    });
    and used like this

    Code:
        tbar: new Ext.Toolbar({
           items: [
              new Ext.Button(icaMail.quickBtn)
           ]
        }),
    Initially the button appears properly with just the icon. However when i issue

    Code:
    icaMail.quickBtn.setText('(1)');
    The text '(1)' appears OVER the icon .

    There appears to be some quirks in the text rendering and you can replicate some problems at will with the Action interactive example 'change text' feature. You can change the text fine - but try entering a 'space' and see what happens. The icon rendering screws up a bit.

    Kev

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,498
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    putting a non-breaking space in the text: Ampersand hash 160 semicolon.

    It decides upon the CSS styles to apply (Needs space for an icon or not) depending upon the initial value of the text. and '' means no text.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi