Make Flex suitable for the user's screen. Regardless of screen size

Create a Flex application. Just wondering, did anyone create something that automatically fits the user's screen size and how do I do it?

One of the highlights is that I need a background image, which obviously needs to be scaled / resized to fit the users screen.

thanks

0
source share
1 answer

you can use percentages for the application, for example. In addition, when resizing an application, resizing occurs. You can listen to how he reacts.

If you want to change the text size relative to the screen size, there is no reasonable solution, as far as I know, because fontSize accepts only pixel values ​​(without em,%, etc.).

+3
source

Source: https://habr.com/ru/post/944380/


All Articles