Page 1 of 1
Switch Button - Change Bitmap
Posted: Wed Oct 29, 2014 4:44 pm
by Nowhk
I don't find the location where the Bitmap of the Switch Button (on/off) is stored.
I'd like to clone the module, and change with my own made in Photoshop.
But how can I change custom Bitmap for my Buttons? I don't find any "Locate Bitmap" for a Switch Button. And I navigate inside>inside>inside modules of the Switch Button, finding nothing in this Bitmap-Inception.
Can you suggest to me a way? Sorry for this noob questions, but I'm a noob, starting using FlowStone 5 days ago

Re: Switch Button - Change Bitmap
Posted: Wed Oct 29, 2014 4:50 pm
by djbrynte
if you mean the ruby one. Its the load animation the red thing inside who change the bitmap. Trigger.
Re: Switch Button - Change Bitmap
Posted: Wed Oct 29, 2014 5:00 pm
by Nowhk
djbrynte wrote:if you mean the ruby one. Its the load animation the red thing inside who change the bitmap. Trigger.
Here I can load the "Non triggered" bitmap. But what's about the bitmap when the Switch is on?
I mean, this is an example of the button (green not clicked, red clicked, or the opposite I don't mind, I can switch the bitmap):

- button.png (388 Bytes) Viewed 12684 times
after I click it, the "bottom" part vanish, even if I specify 100x100 instead of 100x200.
Do you see what I mean? I guess On/Off are two different images (or better, the same image, just moved up/down, as for CSS/background position in the web).
Re: Switch Button - Change Bitmap
Posted: Wed Oct 29, 2014 10:42 pm
by Loopeytunes
save your on/off image horizontal like the image below and then try loading the image into the switch button.
After you have loaded the horizontal on/off image you will then need to set the "CellSize" to the exact width that your "Off" part of the image is in pixels.
Now it should work


Re: Switch Button - Change Bitmap
Posted: Thu Oct 30, 2014 9:02 am
by Nowhk
Oh it's by "horizontal", not "vertical"
Thank you, it works like a charm!!!