Page 1 of 1
Live Icon Sizing
Posted: Sat Nov 04, 2017 4:02 pm
by AdamWhy
Any ideas on this...
When I upload a rectangle image of the colour I wish to assign to a live scene, some display as a square and some fill the button?

Re: Live Icon Sizing
Posted: Sat Nov 04, 2017 7:48 pm
by PolDavril
Hi AdamWhy,
It seems that Daslight resizes the picture inside the button, centers it and takes the height/width ratio into account.
Try basic pictures of 101 x 46 pixels for a button 2 x 1.
I will make further tests about this as soon as possible.
Hope this helps.
Pol
Re: Live Icon Sizing
Posted: Sun Nov 05, 2017 12:09 pm
by PolDavril
Hi,
I have made some investigations...
The image is resized inside the button to keep at least a padding of 6 pixels all around and to keep the aspect ratio.
A single unit button has a size of 47 pixels (all borders included). There is a gap of 8 pixels between the buttons.
Here is a table with the sizes.

- Daslight-ShowImageSize.jpg (54.33 KiB) Viewed 6512 times
So, if you need to see a true rectangular image for a button of 2 units wide x 1 unit high, you have to use an image of 90 x 35 pixels (or larger with the same width/height ratio).
Hope this helps.
Re: Live Icon Sizing
Posted: Sun Nov 05, 2017 1:42 pm
by AdamWhy
Great help!
Thank you.