07-03-2013 02:59 AM
I'm trying to center objectchoicefield but couldn't . Tried to put it in horizontalmanager and center the manager.Tried to use objectchoicefield.field_hcenter and drawstyle.hcenter both but nothing is working.Please help
07-03-2013 03:14 AM
07-03-2013 03:57 AM
07-03-2013 05:20 AM - edited 07-03-2013 05:38 AM
Please do not ever override setExtent unless you really have no choice. But I have never had to do this to achieve the effect I wanted and can not actually think of a reason to do so.
I say again, do NOT override setExtent.
ObjectChoiceField.FIELD_HCENTER can be used to center an ObjectChoiceField - you just need to make sure the Manager that contains this Field is actually also using the full width of the area it has available to it. See more here: