>> > 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.

 Hmmm... I'm not sure if I understand correctly.
 But, make PictureBox / DrawingArea, set Height and Width to 100.
 Then put picture (size 100x100 pixel) / draw square (100x100) to
PictureBox / DrawingArea.
 Result is bigger PictureBox / DrawingArea than than picture / square inside it.
 Other words, Height & Width 100 box, can hold lager picture than
100x100 pixels.

 I just noticed that this is true only in running state!!
 In stop state IDE shows forms OK...


Jussi

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to