Blackberry reducing the font size to fit in the listfield row


Blackberry reducing the font size to fit in the listfield row



i am using the ListField for drawing the text ,Problem is if the size of the text is more then the screen width the remaining text is not appearing.Is there any way where i can reduce the font size for a particular rows whose text content is more to fit in to the ListField drawing region.




Is there any special tool for interactive GUI development

1:



User Guideline or Example of Ribbon UI for Enterprise products
In your ListFieldCallback code you will have a drawListRow() method.


What are good options to create a simple standalone desktop GUI (requirements included!)
Select the font there:.
How can I implement a blocking process in a single slot without freezing the GUI?
public void drawListRow(ListField list, Graphics g, int index, int y, int w)  {     // Set text to draw in textString:      String textString = ... 


Script generation using GUI
Font smallerFont = FontFamily.forName(FontFamily.FAMILY_SYSTEM).getFont(fontStyle, fontSize); g.setFont(smallerFont); g.drawText(textString, 0, y, DrawStyle.TOP|DrawStyle.LEFT, w); }


What are some good ways of managing settings in gui applications?


96 out of 100 based on 66 user ratings 366 reviews

@