1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    3
    Vote Rating
    0
    LucasItaly83 is on a distinguished road

      0  

    Default Toolbar button with two or more badges... how to?

    Toolbar button with two or more badges... how to?


    Hi all,
    i'd like to have a button with two badges in the toolbar for my application.
    Any idea of how to make this?
    I imagine i have to extend the x-button class or something similar, but i'm not so expert in extending Ext components.
    Thanks to all who'll try to help me!

    Luca

  2. #2
    Sencha User
    Join Date
    Apr 2012
    Posts
    8
    Vote Rating
    0
    cmujica2 is on a distinguished road

      0  

    Default


    I'm not sure that you ultimately want to change the image of a button from the toolbar?could you attach the picture? . if you want each logo on a button that I have different events that can not be

    Sencha code
    Code:
    S.views.mainBottomBar = new Ext.Toolbar({
        dock: 'bottom',
        items: [
       {
           xtype: 'spacer' 
       },
       {
          cls: 'btnAction',
          handler: function() 
            {
            }
        }
        ]
    });
    CSS
    Code:
    .btnAction {
        background: url('images/img.png') !important;
        width: 60px;
    }
    I hope I've helped

Thread Participants: 1