HeaderButton.setWidth("80px");
seems to have no effect.
HeaderButton.addStyleName("myStyle");
with ".myStyle {width:80px;}
" in css neither. But the css is active which is proven by the fact that the following has an effect, but no nice one:
HeaderButton.setStyleName("myStyle");
With setStyleName, the width is indeed increased but the rendering is as if the button width had not increased, i.e. the round border is inside the button which looks funny.
Is there a simple way to increase the width of a left header button just by some pixels so that I can see the German "Abbrechen" (means Cancel) complete? :)
Thanks in advance