Zoom-in button for image gallery
Posted: Wed Apr 21, 2021 6:20 pm
Hello,
I'm having a hard time making a button, which would zoom-in the current gallery item. I tested that the button appears on the screen correctly:
vbox xalign 0.98 yalign 0.1:
imagebutton:
idle "gui/zoom_idle.png"
hover "gui/zoom_hover.png"
action NullAction()
but honestly I simply don't understand, which action should do the trick. I've already tried the zoom (as in ATL), but I get the error that this parameter uses the screen language. Studying the screen language, I found the im.Scale parameter, but it seems I can't use it correctly as well.
Which action should be placed here?
P.S. By the way, I'm placing this button near the grid and return button on the gallery screen.
I'm having a hard time making a button, which would zoom-in the current gallery item. I tested that the button appears on the screen correctly:
vbox xalign 0.98 yalign 0.1:
imagebutton:
idle "gui/zoom_idle.png"
hover "gui/zoom_hover.png"
action NullAction()
but honestly I simply don't understand, which action should do the trick. I've already tried the zoom (as in ATL), but I get the error that this parameter uses the screen language. Studying the screen language, I found the im.Scale parameter, but it seems I can't use it correctly as well.
Which action should be placed here?
P.S. By the way, I'm placing this button near the grid and return button on the gallery screen.