Results 1 to 2 of 2

Thread: How to make window maximise to whole screen.

  1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    1
    Vote Rating
    0
      0  

    Default How to make window maximise to whole screen.

    Hi all,

    I'm rendering a window containing a chart to a div, so that it appears in a certain place on my web page. When I click on the maximise button on the window, I want it maximise to take up the whole screen. Currently it just maximises to the dimensions of the div it is residing in.

    I understand that if I render the window to the body, then when the window maximises it takes up the whole screen however the problem with this approach is that then I lose control over where the window is displayed on the page hence I render it to a div. If anyone knows an alternative way of positioning the window on the page, I'd be happy to try this out.

    Appreciate any help,

    Sid.

  2. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,790
    Answers
    583
    Vote Rating
    391
      0  

    Default

    There are a few options for positioning the window. You could just specify x and y config options, or use showAt().

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •