Flex - Scale application with locked aspect ratio -


i want able resize application (which on default, dragging corner of app resize whole window). however, i'd lock aspect ratio of this, when resize, main window keep original aspect ratio.

how do this?

i'm using flashbuilder 4.6.

as far know there not easy way this, there no simple way determine when resize event done. if try keep aspect ratio same using resizeevent, annoying flicker , doesn't work otherwise either.

my solution either doing custom resize button/slider proportionally increases both width , height according aspect ratio, or maybe looking stagescalemodes, keeping scale edit:show_all while scaling background image example.


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -