[Gambas-user] Pixels and Debian

Willy Raets willy at ...2734...
Mon Jun 25 21:02:18 CEST 2012


On zo, 2012-06-24 at 22:47 +0200, Benoît Minisini wrote:

> >>
> >> By default, the dimensions of all forms defined in the IDE (with their
> >> controls) is proportional to the font size.
> >>
> >> If you want absolute pixel sizes, you have to set the "Scaled" virtual
> >> property of the form in the IDE, or move/resize your controls by hand.
> >>
> >> Regards,
> >
> > Setting the Scaled property on the form did solve part of the problem.
> >
> > 1. Pixel of 48x48 now fits PictureBox of 48x48 on Debian 6.0.4
> >
> > 2. Form width of 1000 pixels now correctly fits within screen width of
> > 1024 on Debian 6.0.4
> >
> > 3. Drawing text on a DrawArea still poses a problem on Debain 6.0.4
> > (see attached screens -> Ubuntu 10.10 -> text fits; Debian 6.0.4 -> text
> > goes beyond the DrawArea -> so doesn't fit)
> > I believe Ubuntu 10.04 having the same problem as Debian 6.0.4.
> >
> > I build a small sample application where you can see the problem
> > yourself (depending on what distro you run it).
> > Any suggestions on how to solve this drawing text on a DrawArea?
> >
> > Willy
> >
> 
> Why the text should fit the wame way? Apparently you are not using the 
> same font between Ubuntu and Debian.

Off course, so simple.
Completely forgot to define a font...My mistake

Thanks,

Willy






More information about the User mailing list