Skip to content

Overlapping images in Imageviewer #3658

@peerkes

Description

@peerkes

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions