carlosrovira commented on issue #1070:
URL: https://github.com/apache/royale-asjs/issues/1070#issuecomment-770422269


   For 3.- Yes. You have two options:
   
   a) `ResponsiveResizeListener` bead that listens for browser resizing and 
send events when browser cross a responsive breakpoint. Check In TDJ for an 
example in `MainContent.mxml` here:
   
   
https://github.com/apache/royale-asjs/blob/1c53cd884470578d788165360e604b2981fe1cf6/examples/jewel/TourDeJewel/src/main/royale/MainContent.mxml#L55
   
   In TDJ check the device in Footer Bar bottom right and see how it changes as 
you resize the width of the browser
   
   b) `ResponsiveSize` bead that can be used to change the size of a Jewel 
control depending on responsiveness. Check In TDJ for an example in 
`WelcomSection.mxml` where the main Apache Royale logo change size depending on 
the size of the screen:
   
   
https://github.com/apache/royale-asjs/blob/1c53cd884470578d788165360e604b2981fe1cf6/examples/jewel/TourDeJewel/src/main/royale/WelcomeSection.mxml#L73
   
   Both running examples here: https://royale.apache.org/tourdejewel/
   
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to