setMinWidth problem

Hi

Be sure your post includes:

  1. the SmartGWT or SmartClient version and browser version(s) involved;
    SmartGWT 2.5

  2. for a server-side problem, the complete logs generated during processing of the request;
    No Server Side in the application

  3. for a client-side problem, the contents of the Developer Console (see FAQ for usage);

  4. if there is a JavaScript error, the stack trace logged in the Developer Console (from Internet Explorer if possible); and
    No error

  5. sample code.

 final HLayout mainLayout = new HLayout();  
         mainLayout.setWidth("100%");  
         mainLayout.setHeight("100%");  
         mainLayout.setMinWidth(600);

HLayout coloredLayout = new HLayout();
         
        // coloredLayout.setWidth("20%");
         coloredLayout.setWidth(300);
        coloredLayout.setMinWidth(200);
         coloredLayout.setBackgroundColor("#FF0000");
         mainLayout.addMember(coloredLayout);
         
         coloredLayout = new HLayout();
         coloredLayout.setWidth(300);
//         coloredLayout.setWidth("20%");
         coloredLayout.setMinWidth(200);
         coloredLayout.setBackgroundColor("#00FF00");
         mainLayout.addMember(coloredLayout);
         
         coloredLayout = new HLayout();
         coloredLayout.setWidth(300);
//         coloredLayout.setWidth("20%");
         coloredLayout.setMinWidth(200);
         coloredLayout.setBackgroundColor("#0000FF");
         mainLayout.addMember(coloredLayout);

      mainLayout.draw(); 

If the browser window reaches 600 as in setMinWidth(600), the scrollbar appears