Hi
Be sure your post includes:
-
the SmartGWT or SmartClient version and browser version(s) involved;
SmartGWT 2.5 -
for a server-side problem, the complete logs generated during processing of the request;
No Server Side in the application -
for a client-side problem, the contents of the Developer Console (see FAQ for usage);
-
if there is a JavaScript error, the stack trace logged in the Developer Console (from Internet Explorer if possible); and
No error -
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