Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #21
    Ext GWT Premium Member
    Join Date
    Oct 2008
    Posts
    72
    Vote Rating
    5
    elirov is on a distinguished road

      0  

    Default


    I'm still having a problem with FieldSet in both Chrome and Firefox. Here's the code:
    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();
    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.

    fieldset_bug.jpg

    Thanks!

  2. #22
    Ext GWT Premium Member
    Join Date
    Oct 2008
    Posts
    72
    Vote Rating
    5
    elirov is on a distinguished road

      0  

    Default


    Is it possible that we're missing the following in the onResize() method in FieldSet?
    Code:
    getContainerTarget().setHeight(height - getElement().getFrameWidth(Side.TOP, Side.BOTTOM));
    Is there a reason to only set the width and not the height of the container target?