-
16 Jul 2012 7:52 AM #21
I'm still having a problem with FieldSet in both Chrome and Firefox. Here's the code:
The text area should take up the entire fieldset size, but it takes up only two lines on top. Same thing happens when I add a button instead of a text area. It almost looks like it's adding a child and allowing the child to choose its own height instead of sizing the child to take up all the available space, like a SimpleContainer would do.Code:FieldSet fs = new FieldSet(); fs.setHeadingText("Test"); fs.add(new TextArea(), new MarginData(10)); com.sencha.gxt.widget.core.client.Window w = new com.sencha.gxt.widget.core.client.Window(); w.add(fs); w.setPixelSize(400, 400); w.show();
fieldset_bug.jpg
Thanks!
-
16 Jul 2012 8:06 AM #22
Is it possible that we're missing the following in the onResize() method in FieldSet?
Is there a reason to only set the width and not the height of the container target?Code:getContainerTarget().setHeight(height - getElement().getFrameWidth(Side.TOP, Side.BOTTOM));
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTGWT-1525
in
3.0 RC.


Reply With Quote