[Gambas-user] Height and width units?
Benoit Minisini
gambas at ...1...
Mon Dec 8 17:09:32 CET 2008
On lundi 8 décembre 2008, Jussi Lahtinen wrote:
> Hi list!
>
> What is the unit of height and width? At least in PictureBox and
> DrawingArea, unit is not pixel, instead something little larger...
Hu ? Everything is in pixels in Gambas. Control dimensions in the IDE are just
multiple of Desktop.Scale.
>
> Other thing, there seems to be limit in form size.
> I can't make form bigger than 1024 units, regarding both width and height.
> Something to do with my resolution 1280x1024? Bug?
Oops. This is just a stupid limit hardcoded in the IDE. You can override it by
code if you want.
Regards,
--
Benoit Minisini
More information about the User
mailing list