[Gambas-user] Strange way of working about form dimensions

Benoit Minisini gambas at ...1...
Mon Aug 28 03:38:34 CEST 2006


On Monday 28 August 2006 03:22, rudy wrote:
> Hi,
>
> I'm having problem with form dimension when running gambas program on
> different computer. I looked in the mail list and found the old discussion
> thread below. I have exactly same problem. Is there a solution to this
> problem ?
>
>  I made an 800 x 600 form in my notebook (screen res 1024 x 768) and when I
> run the program on a PC (same res 1024 x 768) the form dimension changed to
> 732 x 5xx (not remember exactly the form height). I tried to run the
> program on another (third) PC, the problem still happens.
>
> I run gambas 1.9.33 on Suse 10.0.
>
> Many thanks ....
>
> Rudy
>

All control and form dimensions are scaled according to the font size, not the 
desktop resolution. More exactly, they are scaled by Desktop.Scale, which is 
half the default font height in pixels.

I had to find a way to make a flag that prevent forms to be scaled, but I 
didn't find the time to do it.

Regards,

-- 
Benoit Minisini





More information about the User mailing list