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



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to