Altova MobileTogether Designer

An image control which is placed in the design as a top-level control (that is, directly on the page) has a Control Width property, but an image placed inside a table cell has both a Control Width property as well as a Control Height property. This enables the following image size settings:

 

Control Width only: (i) wrap_content: the image is displayed at its original size; fill_parent: the image fills the width of the page.

Control Width and Control Height: (i) If both are set to fill_parent, then the image is set to the height of the row and the width is scaled to maintain the image's aspect ratio or AR (which is the image's height/width ratio); (ii) In the three other combinations of these two settings setting, the image is set to the height of the image. The white cells in the table below give the respective image size at the intersection of the properties in the respective row and column.

 


Control Height = wrap_content

Control Height = fill_parent

Control Width = wrap_content

Image height; width scaled to keep AR

Image height; width scaled to keep AR

Control Width = fill_parent

Image height; width scaled to keep AR

Height of row; width scaled to keep AR

 

© 2017-2023 Altova GmbH