codenameone / CodenameOne

Cross-platform framework for building truly native mobile apps with Java or Kotlin. Write Once Run Anywhere support for iOS, Android, Desktop & Web.

Home Page:https://www.codenameone.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overlapping images in Imageviewer

peerkes opened this issue · comments

i like to use the imageviewer with a couple of charts. I want to zoom in on the chart using the touch screen.
When i zoom in on the device and go the right of the image then the new image will be over the first image. This happens after a specific zoomin. There is no problem when zoomed out.

See question and answers from Shai Almog https://stackoverflow.com/questions/74330133/solving-overlapping-images-when-zooming-in-codenameone/74333034?noredirect=1#comment131267284_74333034

The workaround suggested is viewer.setImageInitialPosition(ImageViewer.IMAGE_FILL);

This workaround is not working with an big image. The image will not be pcaced full.

Can you solve this

hi shannah when do you think the issue is solved