mkaouer/j4me

Label component preffered size is wrong

Closed this issue · 1 comments


Under certains circumstances, a Label could be break into several lines,
while it has been sized enough to get all text on a single line (by using
getPreferredSize)

This may occures because the horizontal margin used in the breakIntoLines
method  is not included in the preffered size calculation. 


please, find enclosed a fix proposal.

Cheers
Jean-marie

Original issue reported on code.google.com by jmherme...@gmail.com on 13 Feb 2008 at 9:41

Attachments:

Original comment by deanbro...@gmail.com on 26 Feb 2008 at 1:29

  • Changed state: Fixed