[Gambas-user] fonts

Frank Berg frankberg at ...390...
Mon Jan 17 21:13:17 CET 2005


hi,

my next question is about fonts.

how can i get the actuell pixel values of font.heigth and font.width (in same pixelvalue as ME.x and ME.y) so i can set an correct size to button or labels

x=font.width("This is an teststring to see how many pixels this string are long")
y=font.heigh("H")

any ideas??

frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20050117/9b96c7d0/attachment.html>


More information about the User mailing list