PDA

View Full Version : Text alignement Firefox



clericip
23 Jul 2008, 4:49 AM
This code display two buttons:

ButtonBar buttons = new ButtonBar();
buttons.add(new Button("Hello"));
buttons.add(new Button("Hello Hello"));
RootPanel.get().add(buttons);

GWT shell and IE7 render is ok ("Hello" text centered)
Firefox 3 render is wrong ("Hello" text left aligned)

I use:
Windows XP
GWT 1.5 RC2
GXT 1.0.1