1. #1
    Sencha User
    Join Date
    Aug 2008
    Posts
    226
    Vote Rating
    2
    TheBuzzer is on a distinguished road

      0  

    Default How do i remove a setIconStyle

    How do i remove a setIconStyle


    I want to remove the setIconStyle from a ContentPanel

    if I try using setIconStyle(null) or setIconStyle("") it does not work and causes tooltip buttons to show up which is a bit weird

    So anyone know the default setIconStyle?

  2. #2
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    3
    gslender is on a distinguished road

      0  

    Default


    Buzzer,

    I've submitted the patch below to Darrell - so if he takes it up, then hopefully this will be in a relase not too far away.
    Code:
    Index: Header.java
    ===================================================================
    --- Header.java	(revision 796)
    +++ Header.java	(working copy)
    @@ -124,6 +124,17 @@
       }
     
       /**
    +   * Removes the header's icon style.
    +   */
    +  public void removeIconStyle() {
    +    this.iconStyle = "";
    +    if (rendered) {
    +      textEl.removeStyleName("x-panel-icon");
    +      iconBtn.setVisible(false);
    +    }    
    +  }
    +
    +  /**
        * Sets the header's text.
        * 
        * @param text the new 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