1. #1
    Ext GWT Premium Member
    Join Date
    Jul 2010
    Posts
    2
    Vote Rating
    0
    canfindvinay is on a distinguished road

      0  

    Exclamation How to add a new ToolButton style

    How to add a new ToolButton style


    Currently the ToolButton class in com.extjs.gxt.ui.client.widget.button supports the following styles

    <dt><b>Supported Styles:</b></dt>
    <dd>.x-tool-close</dd>
    <dd>.x-tool-minimize</dd>
    <dd>.x-tool-maximize</dd>
    <dd>.x-tool-restore</dd>
    <dd>.x-tool-gear</dd>
    <dd>.x-tool-pin</dd>
    <dd>.x-tool-unpin</dd>
    <dd>.x-tool-right</dd>
    <dd>.x-tool-left</dd>
    <dd>.x-tool-up</dd>
    <dd>.x-tool-down</dd>
    <dd>.x-tool-refresh</dd>
    <dd>.x-tool-minus</dd>
    <dd>.x-tool-plus</dd>
    <dd>.x-tool-search</dd>
    <dd>.x-tool-save</dd>
    <dd>.x-tool-help</dd>
    </dl>


    Can I add a new style?? If possible --> I want to add a style to display the "paper clip" image with the same look & feel as other tool buttons styles. Adding the following to .css does not help. Any Ideas?

    Code:
    .x-tool-clip {
        background-position:0 -300px;
        background-image:url(images/clip.gif) 
    }
    TIA
    Vinay

  2. #2
    Ext JS Premium Member
    Join Date
    Aug 2011
    Posts
    41
    Vote Rating
    -1
    dvaidhya is an unknown quantity at this point

      0  

    Default


    Was there any solution given for this thread??. I am also trying to add a new tool style. Please let me know the steps to implement it.

Similar Threads

  1. why ToolButton not at right ? ?
    By bhvijaykumar in forum Ext GWT: Help & Discussion (1.x)
    Replies: 6
    Last Post: 26 May 2010, 8:17 AM
  2. Help please,ToolButton placement
    By scaswell1 in forum Ext GWT: Help & Discussion (1.x)
    Replies: 1
    Last Post: 15 May 2009, 4:29 AM
  3. Toolbar and Toolbutton
    By arxcruz in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 20 Dec 2006, 9:10 PM

Thread Participants: 1

Tags for this Thread

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