Live Icon Sizing

The previous Daslight version

Moderators: TomHat, simonB

AdamWhy
Posts: 25
Joined: Sun Jan 15, 2017 8:31 pm
Operating System: Windows

Live Icon Sizing

Post 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?

Image
PolDavril
Posts: 477
Joined: Tue Nov 17, 2015 6:48 pm
Operating System: Windows
Location: Belgium
Contact:

Re: Live Icon Sizing

Post 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
Pol Davril
Stage Manager & Technician
Daslight 4 - Version Jan 13 2020
http://www.hsd-productions.be
http://www.exprime-toi.be
PolDavril
Posts: 477
Joined: Tue Nov 17, 2015 6:48 pm
Operating System: Windows
Location: Belgium
Contact:

Re: Live Icon Sizing

Post 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
Daslight-ShowImageSize.jpg (54.33 KiB) Viewed 6044 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.
Pol Davril
Stage Manager & Technician
Daslight 4 - Version Jan 13 2020
http://www.hsd-productions.be
http://www.exprime-toi.be
AdamWhy
Posts: 25
Joined: Sun Jan 15, 2017 8:31 pm
Operating System: Windows

Re: Live Icon Sizing

Post by AdamWhy »

Great help!

Thank you.
Post Reply