Hi!
Is it possible at all to get your images and fonts (loaded from resources) resized as needed according to screen dimensions, using only MAUI? Or do I need to have a folder for WVGA, QVGA, etc?
If it is, how?
Thanks,
Mike
Hi!
Is it possible at all to get your images and fonts (loaded from resources) resized as needed according to screen dimensions, using only MAUI? Or do I need to have a folder for WVGA, QVGA, etc?
If it is, how?
Thanks,
Mike
Hey, in MAUI you will need to generate each font size and colour you need. MoSync 3.0 comes with a new resource compiler which will let you conditionally include different font files based on the screen size.
Thanks! And what about images?
For best results, resize images in PhotoShop. There is a component in MAUI which does resize images, but it doesn't expose the resized image and it doesn't delete the image data once resized. https://github.com/MoSync/MoSync/blob/master/libs/MAUI/Scaler.h
The AppMancer AMUI library's Image widget supports resizing. I've changed Scaler so it does expose the resized image. Have a look at the source here http://appmancer.repositoryhosting.com/svn_public/appmancer_appmancer30/AMUI/