05-16-2011 07:51 AM
hi all
how i can set the width of a objectchoicefield.its width automatically changes according to the length of the text.but i want fix it with the Drawstyle Elipses. If the text lenght is larger than it gives(....) dots.
i override the layout method like this
protected void layout(int width, int height) {
setExtent(180,25);
super.layout(1 80 25);
}but than its height changes. i donot know what to do .