Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    TabSet.setHeight100() doesn't work in all cases

    Hi,

    I believe that I found a problem in rendering TabSet in a Window.
    In pictures attached you can see the broken tabset and what was expected.

    Please, find attached a testcase running on the latestnightbuild 2011-06-17

    best regards,
    Zdary
    Attached Files

    #2
    Usage error; you've got a Window set to autoSize, so it derives it's size from it's content. But you haven't given a size to the content. Set a size on either the Window or the content, you can't omit both.

    Comment


      #3
      Hi,

      I see. My intention was to have a window which would set its size based on context. Something like equivalent to Swing's layout.pack();

      I assumed that the TabSet would know its minimal possible size in order to render the dynamic form inside. I don't know the size of the dynamic form due to showIfConditions on FormItems. I can make a logic which would calculate the size.

      I noticed that there is setAutoHeight() on TabSet but it's without javadoc. How can I use it. At what situations?Cheers,
      Zdary

      Comment

      Working...
      X