1 Reply Latest reply on Dec 4, 2009 6:34 AM by Gregory Lafrance

    TitleWindow resize

    LacioDrom Level 1

      Hi everyone,


      I'm using a TitleWindow and I'd like that it automatically resized itself when I resize the browser. What TitleWindow's property should I set?


      Thanks a lot !!!


        • 1. Re: TitleWindow resize
          Gregory Lafrance Level 6

          As long as it is not being used as a popup, just use percentages for the width and height:



          <?xml version="1.0" encoding="utf-8"?>
          <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
            <mx:TitleWindow width="50%" backgroundColor="0xFFFFFF" height="50%"/>


          If it is a popup, then refer to the app width and height:





          If this post answers your question or helps, please mark it as such.

          Greg Lafrance

          Flex Development and Support Services

          1 person found this helpful