Ah,thanks, it works! But I have another problem now. If the PictureViewer is open, the statusbar is hidden, but how can I make the statusbar visible, when the PictureViewer is closed?
Good question! Had to play around a bit myself to work that one out 😉
The tricky part is how to find out when the viewer is closed. Luckily the show method returns the viewer item, which has a property isOpen that we can use:
The Connections object allows to define a handler for signals of a certain target item, which is what we can use to find out when the viewer was closed. You can use this solution for now.
While I was researching your problem, I made some adjustments to the PictureViewer item. As from the next Felgo release you can use it like this:
It will be possible to directly access onClosed and onOpened signals of the PictureViewer. Also, it will be possible to pass an url to the show method. (The current version expects an Image item.)
Best,
Günther
This reply was modified 7 years, 5 months ago by GT.
By signing up, you consent to Felgo processing your data & contacting you to fulfill your request. For more information on how we are committed to protecting & respecting your privacy, please review our privacy policy.
Want to find out if Felgo is a good fit for your company?
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: