Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-198

Splitter issue with double Borderlayout

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.0.7
    • Fix Version/s: 5.0.8
    • Component/s: Components
    • Labels:
      None

      Description

      https://sourceforge.net/tracker/?func=detail&aid=3310415&group_id=152762&atid=785191

      In the following test case, the Center of the inner Borderlayout loses height when moving the Splitter of the outer Borderlayout:

      Test Case:
      <zk>
      <borderlayout vflex="1">
      <center>
      <borderlayout vflex="1">
      <center>
      Inner Center Content
      </center>
      </borderlayout>
      </center>
      <east splittable="true" size="50%">
      Outer East Content
      </east>
      </borderlayout>
      </zk>

      Quick work-around: add a Div between the two Borderlayouts.
      For example:
      <zk>
      <borderlayout vflex="1">
      <center>
      <div vflex="1">
      <borderlayout vflex="1">
      <center>
      Inner Center Content
      </center>
      </borderlayout>
      </div>
      </center>
      <east splittable="true" size="50%">
      Outer East Content
      </east>
      </borderlayout>
      </zk>

        Activity

        Hide
        SimonPai SimonPai added a comment -

        Fixed since 2011/7/26.

        Show
        SimonPai SimonPai added a comment - Fixed since 2011/7/26.

          People

          • Assignee:
            SimonPai SimonPai
            Reporter:
            asukachen asukachen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: