ObjectChoiceField and Field.USE_ALL_WIDTH
I would like to know if the flag style Field.USE_ALL_WIDTH is supported for an ObjectChoiceField component. I try to use it but it doesn't work. I was expecting the field to take all the width of its container (in my case the screen's width).
I have tried to override the layout method, and I call setExtent correctly, with the screen's width as parameter, but it's still the same.
How could I make the field take all the available width ?
Edit : I use the JDE 4.7.0, and the 9530 Simulator.
Re: ObjectChoiceField and Field.USE_ALL_WIDTH
My advice would be to use ObjectListField instead.
ObjectChoiceField is meant to be a form control, and the list itself will take its width from the widest member.
|All times are GMT -5. The time now is 10:30 AM.|
Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.