PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WM 20: Image sizing problem
WM 20: Image sizing problem
Iniciado por guest, 05,feb. 2016 13:35 - 1 respuesta
Publicado el 05,febrero 2016 - 13:35
Hi All,

I have an image control, homothetic centred, which has an (underlying) image that is edited by the user, then saved.

When I reset the window to enter a new record, the default/underlying image no longer fits into the control, but is enlarged by about 10% and some of it is cropped out.

If I close the window/application and re-open it, the underlying image fits the control correctly again.

The problem started when I changed the image to an svg (I think), but persists when using a png.

Any ideas to solve this one? I have tried all of the options I can see, but still get the same problem.

Thanks

Pete
Publicado el 05,febrero 2016 - 14:44
I think it is a layout issue...the image is viewed in landscape only on a phone, but is then copied from the image control on portrait version of the screen, where the image control was unedited at the same width as the landscape version, therefore the right hand edge was cut off! So I have resized the portrait version and it should work as planned now.

Pete