PDA

View Full Version : DualListField Width



equizole
9 Jul 2009, 10:16 AM
I'm using a DualListField in a FormPanel (and I've tried other containers/layouts) but can't seem to control the width of either the individual ListFields or the DualListField component. It appears there is some dependency on the length of the text values in the lists in that the ListFields get wider as the text values get longer.

Any suggestions would be appreciated.

Thanks...

equizole
13 Jul 2009, 10:39 AM
I'm still not having any luck with this. I'd like to somehow constrain the size of the list fields and have a horizontal scrollbar appear when the text values exceed the size. Can one of the GXT Developers please reply?

Thanks again...

e3133d3
31 Aug 2009, 8:20 AM
I encountered the same problem,
Any luck with this issue?

Thanks,

Edo

e3133d3
31 Aug 2009, 8:30 AM
just for completeness for other users who might encounter this problem:
To control the size of the DualListField, add the list to the panel and specify the layout data:
FormPanel panel = new FormPanel();
FormData layoutData = new FormData("80% 20%");
DualListField clusterNodeslists = new DualListField();
...
...
panel.add(clusterNodeslists, layoutData);

chandankumarbv
13 Oct 2009, 10:49 PM
I have also encountered the same issue, However, it works perfectly fine in Firefox, but i have the same problem in IE.

-thanks
chandan

sven
15 Oct 2009, 4:42 AM
There is an issue with sizing listfields. This is already fixed in SVN and part of GXT 2.0.2