Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How shld i keep my layout to 1024 by 768 ?

    Version : SmartClient Pro / SmartGWT Pro
    I want to keep my project layout to 1024 by 768.
    If I increase the screen resolution more than 1024by768 , my site/app shld remain with the original resolution of 1024 by 768.
    How shld I achieve this using SmartGWTPro ?

    #2
    Generally, I've found that SmartGWT is quite intelligent about arranging its layouts according to the window size, and it's usually best to let the browser flow the content--after all, it's entirely likely that your users will also want to use your app on a screen that's smaller than 1024x768 (like a netbook).

    That said, if you still want to constrain your app size, you could try creating a parent Canvas, manually setting the width and height to 1024 and 768, attaching it to the RootPanel, and then putting your layout manager inside it.

    Comment


      #3
      Thanks,
      Achieved it.

      Comment

      Working...
      X