You are reading a single comment by @gerardwr and its replies. Click here to read the full conversation.
  • Hi,

    When I use code like this

    g.drawString("Temp:"+t + "\nBattery:" + b + "%\n" + c + "\nUptime: " + u + " hr",0,60);

    the "\n" creates a newline, works fine, nice feature.

    But there is no spacing between the lines so the result is not very readable. In all cases the characters of the lines "touch" and in some cases characters of lines even "overlap" ( see picture in annex ).

    Searched the documentation for a line-space setting, but did not find it.

    Is there a line-space setting, and if not, is it a suggestion to add one?

    1 Attachment

    • p1.png

Avatar for gerardwr @gerardwr started