Smart GWT LGPL Version 4.1d build 10/17/2013
The docs don't state which classes can and cannot make use of horizontal/vertical clipping. Here I'm creating a child of Layout and applying a clipped overflow to the child. Is this intentional functionality for the Layout class or a bug?
A class that extends Layout:
An instance of that class instantiated then an immediate call to setOverflow:
Warning result:
This widget has overflow specified as "clip_h". This overflow setting is not supported - defaulting to overflow:"visible".
However, I do see the clipping applied correctly, and if I comment out that line the layout no longer gets clipped. It looks like a misleading warning.
Thanks!
-Becky
The docs don't state which classes can and cannot make use of horizontal/vertical clipping. Here I'm creating a child of Layout and applying a clipped overflow to the child. Is this intentional functionality for the Layout class or a bug?
A class that extends Layout:
Code:
class MyLayout extends com.smartgwt.client.widgets.layout.Layout
An instance of that class instantiated then an immediate call to setOverflow:
Code:
MyLayout myLayout = new MyLayout(); myLayout.setOverflow(Overflow.CLIP_H);
This widget has overflow specified as "clip_h". This overflow setting is not supported - defaulting to overflow:"visible".
However, I do see the clipping applied correctly, and if I comment out that line the layout no longer gets clipped. It looks like a misleading warning.
Thanks!
-Becky
Comment