Results 1 to 6 of 6

Thread: segmented button color change of pressed button

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Jul 2012
    Vote Rating

    Default Answered: segmented button color change of pressed button


    I am new to sencha. Kindly bear with me.
    I have a segmented button component with two buttons.
    I want to change color of the pressed button to something other than default behavior .
    Please advice.

  2. Hi,
    you may use 'pressedCls' with your button.
    it will apply styles defined within your css class to the button when it is pressed.

                xtype: 'button',
                pressedCls : 'yourPressedButton',
    for more info, check this:-!/api/Ext.Button-cfg-pressedCls

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts