Page 1 of 1

Hide new image inserted before custom toolbar button

Posted: Thu Aug 08, 2019 10:46 am
by mrapi
Hi,I've upgraded to latest version of Stimul(2019.3.4) but now just before a custom toolbar button is inserted a image,image is gone if I return to my previous version (2019.3.2):
Image
Image

button is added with this code:
viewtopic.php?f=27&t=55190&p=152642#p144859

how to hide that empty image
thanks

Re: Hide new image inserted before custom toolbar button

Posted: Fri Aug 09, 2019 11:45 am
by Lech Kulikowski
Hello,

You should send additional parameter null
var userButton = viewer.jsObject.SmallButton("userButton", "My Button", null);

Thank you.

Re: Hide new image inserted before custom toolbar button

Posted: Fri Aug 09, 2019 11:51 am
by mrapi
it is working.thanks

Re: Hide new image inserted before custom toolbar button

Posted: Fri Aug 09, 2019 12:47 pm
by Lech Kulikowski
Hello

We are always glad to help you!

Thank you.