ayman
04-01-2008, 07:07 AM
I have the following code
GlobeAnnotation ga = new GlobeAnnotation(annotationString,positio n,Font.decode("Arial-BOLD-11"));
ga.getAttributes().setAdjustWidthToText( Annotation.SIZE_FIT_TEXT);
The annotation divide the string into two or three lines, and doesn't expand the width to fit the test.
GlobeAnnotation ga = new GlobeAnnotation(annotationString,positio n,Font.decode("Arial-BOLD-11"));
ga.getAttributes().setAdjustWidthToText( Annotation.SIZE_FIT_TEXT);
The annotation divide the string into two or three lines, and doesn't expand the width to fit the test.