[Gambas-user] Metric nonconformism

Benoît Minisini gambas at ...1...
Sun Feb 15 16:04:30 CET 2009


> I'm trying to create different kinds of installation's packages (.rpm,
> .deb). My problem is: I've created a GUI under Mandriva (Gambas version
> 2.9). Now when I try to open the project under Ubuntu (a guest on
> VirtualBox,  Gambas 2.7), the sizes of the GUI are changed. What is the
> reason for this, and how could I avoid this?
> Thanks

The size of the GUI is proportional to the height of the system font. 

If you really want a fixed GUI, which is a very bad idea coming from the 
Windows world, you have to set the "(Scaled)" property of your forms to FALSE.

Otherwise, there is a problem on Ubuntu (at least on the old versions) where 
the qt library is configured with a too big font. If your application uses 
gb.qt, maybe this is the problem you got. I can't guess more without at least 
a screenshot.

Regards,

-- 
Benoît




More information about the User mailing list