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.

  1. #1
    Sencha User roymj88's Avatar
    Join Date
    Nov 2011
    Location
    India
    Posts
    19
    Vote Rating
    0
    roymj88 is on a distinguished road

      0  

    Default How to design the docked buttons??

    How to design the docked buttons??


    Hi,

    Is it possible to change the design of the buttons like submit, back etc which are used in the docked toolbars.

    For eg :-

    I have used the following button,

    Code:
    {
           xtype:'button',
           class:'submitbutton',
           text:'Submit',
           handler:function(){
                 Test.Viewport.setActiveItem('second',{type:'slide', direction:'left'});  
           }
    }
    I had named it to a different class and gave style accordingly :

    Code:
    .submitbutton{
        background-color:#FFF;
        border-radius:7px;
        color:#000;
        padding:10%;    
    }
    But the styles are having no effect. Please let me know how can i change the designs of the buttons.

    Thanks

    Roy M J

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,519
    Vote Rating
    813
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Instead of using 'class', use 'cls'
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    I suggest you use `ui` instead of `cls`, and use the SASS mixins to generate a new style of button for your application.

    Documentation here: http://docs.sencha.com/touch/2-0/#!/...ncha-button-ui
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

Thread Participants: 2