Hi,
just a quick hack, maybe there are better ways.
Code:
public void onPreWindowOpen(ApplicationWindowConfigurer configurer) {
super.onPreWindowOpen(configurer);
DefaultCommandServices.instance().setToolBarButtonConfigurer( new DefaultCommandButtonConfigurer() {
public void configure(AbstractButton button, AbstractCommand command, CommandFaceDescriptor faceDescriptor) {
super.configure(button, command, faceDescriptor);
button.putClientProperty( "hideActionText", Boolean.FALSE);
button.setMargin(new Insets(2, 5, 2, 5));
}
});
}
It also would be interesting to configure it thru the properties framework, so users can choose if they want a text or not in the toolbar?
hope it helps
Claudio