Reputation: 81
I am using Smart GWT 3.1. The window has no title. Therefore it leaves uneven borders. How can I get rid of the borders? Or make all size borders even?
Upvotes: 1
Views: 1812
Reputation: 8231
The following lines will solve your problem:
setShowHeader(false);
setShowStatusBar(false);
setLayoutMargin(0); // to remove 4px gray border
setAttribute("styleName", "", true); // to remove 1px (rounded) outer border
setBodyStyle(""); // to remove 1px body border
setBodyColor(null); // to make background transparent
Have a nice day ;-)
Upvotes: 2