PDA

View Full Version : RowLayout question



Evgenia
22 Jan 2009, 2:07 AM
Hello.

I am investigating the RowLayout behaviour. As the first step I tried the
http://extjs.com/examples/layouts/rowlayout.html example and replaced
Text label1 = new Text("Test Label 1");
with
TextField<String> label1 = new TextField<String>();
Nothing else has been changed.

See what I've got:
http://i42.tinypic.com/av3eih.png

What is the reason for margins of the first field differs now from margins of the second one?

Thank you in advance.

gslender
22 Jan 2009, 1:57 PM
this is a bug - pls post/raise a bug in http://extjs.com/forum/forumdisplay.php?f=31

Evgenia
23 Jan 2009, 1:27 AM
Thank you very much.
You can find it here: http://extjs.com/forum/showthread.php?p=277550#post277550.

As a current "workaround" I can specify different margins for different fields (TextField moves to the left, DateField moves to the right), but I don't like the idea (when you fix it I will have to change my layout).
Could you please tell me if there is an acceptable workaround?