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

Height calculation error when using vFlex = "min" in hlayout and borderlayout

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Steps to Reproduce

      run the following ZUL file

      <zk>
          <hlayout hflex="1" vflex="1">
                  <borderlayout vflex="min" hflex="1" >
                      <north vflex="min">
                          <div vflex="min" style="background:yellow;">
                              <span>01234567890</span>
                              <span>11234567890</span>
                              <span>21234567890</span>
                              <span>01234567890</span>
                              <span>11234567890</span>
                              <span>21234567890</span>
                              <span>01234567890</span>
                              <span>11234567890</span>
                              <span>21234567890</span>
                              <span>01234567890</span>
                              <span>11234567890</span>
                              <span>21234567890</span>
                          </div>
                      </north>
                  </borderlayout>
          </hlayout>
      </zk>
      
      

      Current Result

      The height is not correct

      Expected Result

      The height is one-line height

      Debug Information

      might be word-wrap issue

      Workaround

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              DevChu DevChu
              Reporter:
              DevChu DevChu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: