gbruchwald / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

setShowEdges(false) on Window does not work #716

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Method for hiding window (com.smartgwt.client.widgets.Window) edges 
(setShowEdges(false)) does not work on SmartGWT 4.0, it worked fine on 3.0, not 
sure about versions between.

EXAMPLE (overloaded constructor):

    public Window(String width, String height) {
        super();

        setSize(width, height);
        setAutoCenter(true);
        setIsModal(true);
        setShowModalMask(true);
        setShowEdges(false);
        setShowHeader(false);      
        setModalMaskOpacity(10);

    }

Original issue reported on code.google.com by mzaga...@gmail.com on 24 Jul 2013 at 2:55

GoogleCodeExporter commented 9 years ago
Need full version (not just 4.0) and which skin is being used before this will 
be valid issue report.

However the likely issue here is that in CSS3 mode in 3.1 & 4.0 (the default 
for modern browsers), showEdges is not used to create rounded corners on 
Windows, it's just done via CSS.  So setShowEdges(false) would not be expected 
to remove rounding - it's already set to false by default, and you would need 
to modify the CSS to remove rounding if that's what you want to do.

Original comment by smartgwt...@gmail.com on 24 Jul 2013 at 6:11