1

I want to know that when i add a GWT-EXT button to the toolbar it appears as if it were a link,you can see the border is not visible and it just got blended with the toolbar .

Image1

However when add the same button to the panel it viewed properly.

Image2

I just want the button when it is added to to toolbar of a panel to be exactly similar when it is added to a panel.

chebus
  • 762
  • 1
  • 8
  • 26

1 Answers1

0

go the that button and write listener,

    listeners: {
        render: function() {
            this.addCls("x-btn-default-small");
            this.removeCls("x-btn-default-toolbar-small");
        }
    }

This will resolve your problem

JackAss
  • 338
  • 1
  • 4
  • 17