1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    67
    Vote Rating
    0
    santoshsatav is on a distinguished road

      0  

    Question change toolbar button style

    change toolbar button style


    i have some tbar ,fbar etc on page , some how labels and buttons have same style look and feel so , i want to show buttons as normal buttons on form, somehow to distinct label and buttons.can any body suggest , me solution

  2. #2
    Sencha User
    Join Date
    May 2010
    Posts
    67
    Vote Rating
    0
    santoshsatav is on a distinguished road

      0  

    Default


    i found this
    http://www.sencha.com/forum/showthre...r-button-style
    anybody tell me how to use it?

  3. #3
    Sencha User j-joey's Avatar
    Join Date
    Apr 2008
    Location
    Mersin, Turkey
    Posts
    186
    Vote Rating
    0
    j-joey is on a distinguished road

      0  

    Default


    add second code snipped to your css file, and then set cls properties to 'x-form-toolbar-standardButton' on buttons that you want

  4. #4
    Sencha User
    Join Date
    May 2010
    Posts
    67
    Vote Rating
    0
    santoshsatav is on a distinguished road

      0  

    Default


    is there any global way without making change in each and every buttoon

  5. #5
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Frederick, MD
    Posts
    1,747
    Vote Rating
    7
    jarrednicholls will become famous soon enough jarrednicholls will become famous soon enough

      0  

    Default


    You can patch Ext.Button:

    Code:
    Ext.override(Ext.Button, {
        cls: 'x-form-toolbar-standardButton'
    });
    that should do the trick...and not effect buttons globally since x-form-toolbar-standardButton is scoped to toolbars only (which I presume is what you want).

Similar Threads

  1. Toolbar button style
    By exo in forum Community Discussion
    Replies: 33
    Last Post: 28 May 2014, 1:43 AM
  2. Replies: 0
    Last Post: 29 Oct 2010, 6:30 PM
  3. how to change style for button in toolbar
    By thenullpointer in forum Ext GWT: Discussion
    Replies: 1
    Last Post: 28 Oct 2010, 3:14 AM
  4. problem in change the style of button of toolbar
    By innovator in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 21 Apr 2009, 11:01 PM
  5. how to change the style to any button ?
    By elosada in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 9 Mar 2009, 12:00 PM

Thread Participants: 2

Tags for this Thread