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
    2
    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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar