Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
2
Erster Beitrag:
vor 2 Jahren
Letzter Beitrag:
vor 2 Jahren
Beteiligte Autoren:
Peter Muckle

WM 20: Image sizing problem

Startbeitrag von Peter Muckle am 05.02.2016 12: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

Antworten:

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

von Peter Muckle - am 05.02.2016 13:44
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.