View Full Version : [FIXED] FieldLabel - problems with a line break

2 Dec 2011, 5:13 AM
When a FieldLabel label text is too long, it gets a line break. But the field after it is not rendered correctly:

public void onModuleLoad(){

FieldLabel fieldLabel1 = new FieldLabel(new TextField(), "Short1");
FieldLabel fieldLabel2 = new FieldLabel(new TextField(), "A very long field label string");
FieldLabel fieldLabel3 = new FieldLabel(new TextField(), "Short2");
FieldLabel fieldLabel4 = new FieldLabel(new TextField(), "Short3");

VerticalLayoutContainer vlc = new VerticalLayoutContainer();
vlc.setPixelSize(500, 500);

VerticalLayoutData vld = new VerticalLayoutData(1, -1);
vlc.add(fieldLabel1, vld);
vlc.add(fieldLabel2, vld);
vlc.add(fieldLabel3, vld);
vlc.add(fieldLabel4, vld);


And that's how it looks like:


Colin Alworth
6 Dec 2011, 5:04 PM
Thanks for the report, we'll reply back when we have a fix.

19 Jan 2012, 9:05 AM
This is now fixed in SVN. Change will go out in next release.

2 Mar 2012, 1:01 PM
This fix should already be bundled in an earlier beta. If you plan to test again, please use the recently released beta 4 (http://www.sencha.com/forum/showthread.php?184556-Ext-GWT-3.0-Beta-4-Now-Available). Thanks again for your detailed description and screenshot.

If you continue to notice this problem with this release, please post a reply and I'll continue following up with the team.