5 Replies Latest reply on Apr 29, 2007 11:42 PM by Flex_Junior

    Resizing Application Canvas In Flex When Browser Window Is Resized

    Flex_Junior
      Hi,

      I am quite new to Flex. I would like the application canvas to resize automatically when the browser window is resized. Currently, scrollbars are appearing in the application canvas when I try to resize the browser window. I am using absolute layout positioning for the canvas because I have to specify the x and y coordinates for the components. Is it possible for the whole application canvas to resize itself when the browser window is resized without having the scrollbar? It seems that the x and y coordinates are not changed accordingly to fit the browser size once the browser is resized. Do I have to write a repaint function or something to get the application canvas to be redrawn when the browser is resized?

      Please help. Thanks.