[Gambas-user] fonts

Benoit Minisini gambas at ...1...
Tue Jan 18 10:04:05 CET 2005


On Monday 17 January 2005 21:13, Frank Berg wrote:
> 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

What is the problem with Font.Width and Font.Height ?

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list