1. #1
    Sencha User baradas's Avatar
    Join Date
    Jun 2008
    Location
    Mumbai Madness
    Posts
    21
    Vote Rating
    0
    baradas is on a distinguished road

      0  

    Default Icon ToolBar

    Icon ToolBar


    Hi,
    Does anyone have some sample code for an Icon based toolbar?
    i.e a toolbar with image buttons for Home, Refresh etc.
    Any help would be appreciated.

    Regards
    baradas

  2. #2
    Sencha User
    Join Date
    Aug 2007
    Location
    Edinburgh
    Posts
    49
    Vote Rating
    0
    lburgess is on a distinguished road

      0  

    Default


    use the iconCls config param in your button config and create a matching CSS class...

    Button config:
    Code:
        {
          ...
          iconCls: 'myicon'
          ...
       }
    CSS:

    Code:
    .myicon {
       background-image: url(myicon.gif) !important;
    }

  3. #3
    Sencha User baradas's Avatar
    Join Date
    Jun 2008
    Location
    Mumbai Madness
    Posts
    21
    Vote Rating
    0
    baradas is on a distinguished road

      0  

    Default What do you mean by Button config?

    What do you mean by Button config?


    Hi,
    I am using GXT 1.0.
    What do you mean by the button config? Where is the button config included?

    Also how do I set the size of the button? And is this a GXT button or a normal GWT button that I should use?

    Regards
    baradas

  4. #4
    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


    not sure if it would work, but try a TextToolItem, but without any text set....

    http://extjs.com/deploy/gxtdocs/com/...tToolItem.html

  5. #5
    Sencha User
    Join Date
    Aug 2007
    Location
    Edinburgh
    Posts
    49
    Vote Rating
    0
    lburgess is on a distinguished road

      0  

    Default


    Sorry !.. I really must start paying attention to the Forum I am posting in.

Thread Participants: 2

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