1. #1
    Sencha User
    Join Date
    Jul 2010
    Location
    Moscow, Russia
    Posts
    9
    Vote Rating
    0
    Manjago is on a distinguished road

      0  

    Default Answered: [Solved] GXT 3.0.1 how to change TextButton background image (or style) ?

    Answered: [Solved] GXT 3.0.1 how to change TextButton background image (or style) ?


    Hi!

    Tell me, please, how to change TextButton background image in GXT 3.0.1? I have seen examples in the forum, but for version 2.0.x (for example - http://www.sencha.com/forum/showthre...103#post489103). I think they are not suitable for version 3.0.1
    Last edited by Manjago; 13 Nov 2012 at 11:45 PM. Reason: Solved

  2. GXT3 use the appearance patern
    http://www.sencha.com/blog/ext-gwt-3-appearance-design/
    http://www.slideshare.net/senchainc/...nd-appearances
    http://stackoverflow.com/questions/1...button-styling

    I recommend create your own custom button. Like I did:

    ActionButtonCell.java


    ActionButtonCellAppearance.java


    ActionButton.html

    Code:
    <divclass="{style.image}"title="{title}">{img}</div>
    ActionButton.css

    Code:
    .image{
      cursor: pointer; }
    Use as a cell column in a Grid

    The code is about a action button (only a icon without text) using Client Bundle. You can modify to include a text.

  3. #2
    Sencha User
    Join Date
    Jan 2011
    Location
    Lima, Peru
    Posts
    43
    Answers
    5
    Vote Rating
    5
    poseidonjm is on a distinguished road

      0  

    Default


    GXT3 use the appearance patern
    http://www.sencha.com/blog/ext-gwt-3-appearance-design/
    http://www.slideshare.net/senchainc/...nd-appearances
    http://stackoverflow.com/questions/1...button-styling

    I recommend create your own custom button. Like I did:

    ActionButtonCell.java


    ActionButtonCellAppearance.java


    ActionButton.html

    Code:
    <divclass="{style.image}"title="{title}">{img}</div>
    ActionButton.css

    Code:
    .image{
      cursor: pointer; }
    Use as a cell column in a Grid

    The code is about a action button (only a icon without text) using Client Bundle. You can modify to include a text.

  4. #3
    Sencha User
    Join Date
    Jul 2010
    Location
    Moscow, Russia
    Posts
    9
    Vote Rating
    0
    Manjago is on a distinguished road

      0  

    Default Thanks!

    Thanks!


    Thanks for the great detailed response!

Thread Participants: 1

Tags for this Thread

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..."