[Gambas-user] Control sizes with GTK get enlarged

Bruce Steers bsteers4 at gmail.com
Mon Jan 3 05:59:52 CET 2022


So I'm using the IDE..
Making some custom controls, they are spinable images (works like a spinner
but uses images of dials).

In the IDE I have set the sizes like this..
ImageSpinner1  =  64 64
ImageSpinner2  =  64 64
ImageSpinner3  =  128 128
ImageSpinner4  =  64 64
ImageSpinner5  =  64 64

that is the output from the test ap as it loads in the images
The objects W & H sizes as i have set them in the IDE.

When i load it with GTK2 or 3 this happens...
ImageSpinner1  =  72 72
ImageSpinner2  =  72 72
ImageSpinner3  =  144 144
ImageSpinner4  =  72 72
ImageSpinner5  =  72 72

Is that supposed to happen?

Cheers
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220103/abf7f119/attachment.htm>


More information about the User mailing list