Threaded View

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    35
    Vote Rating
    0
    manoveg is on a distinguished road

      0  

    Default Answered: segmented button color change of pressed button

    Answered: segmented button color change of pressed button


    Hi,

    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.

    Code:
       {
                xtype: 'button',
                pressedCls : 'yourPressedButton',
              ...
        }
    for more info, check this:- http://docs.sencha.com/touch/1-1/#!/api/Ext.Button-cfg-pressedCls

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