Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Hybrid 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

  3. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Answers
    124
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    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
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

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

      0  

    Default


    Thanks for the hint.

    it worked for me in the following way

    Code:
    xtype:'button',
    cls: 'button_pressed',
    and in my style.css

    Code:
    .button_pressed.x-button-pressed{
    color: #148DEA;
    background:#148DEA !important; 
    }

  5. #4
    Sencha User
    Join Date
    Nov 2012
    Posts
    23
    Vote Rating
    1
    Manoj Solanki is on a distinguished road

      0  

    Default Segmented Button Border Style

    Segmented Button Border Style


    Hello friends,

    Default border of segmented button is ROUNDED.
    Can anyone tell me how can I make border of segmented button "square".
    Thanks in advance....

  6. #5
    Sencha Premium Member
    Join Date
    Oct 2012
    Posts
    34
    Vote Rating
    0
    anoopmishra is on a distinguished road

      0  

    Default


    try using 'border-radius:0' in the style config of your button

  7. #6
    Sencha User
    Join Date
    Nov 2012
    Posts
    23
    Vote Rating
    1
    Manoj Solanki is on a distinguished road

      0  

    Default


    Thanks for the reply.. I did it...