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

vflex on goldenpanel doesn't work as expected

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 9.0.0.1, 9.5.0.2
    • Fix Version/s: 9.6.0
    • Component/s: Components
    • Security Level: Jimmy
    • Labels:

      Description

      Steps to Reproduce

      <goldenlayout id="gl" vflex="1" hflex="1">
      <attribute name="areas">
          A B
      </attribute>
      <goldenpanel area="A" title="Panel Blue">
          <div vflex="1" hflex="1" style="background-color:blue !important">
              <label value="Lorem ipsum"/>
          </div>
      </goldenpanel>
      <goldenpanel area="B" title="Panel Red">
          <div vflex="1" hflex="1" style="background-color:red !important">
              <label value="Lorem ipsum"/>
          </div>
      </goldenpanel>
      </goldenlayout>
      

      Current Result

      red panel's height doesn't consume the whole height of the parent

      Expected Result

      Workaround

      <custom-attributes org.zkoss.zul.css.flex="false"/>

        Attachments

        1. error.jpg
          30 kB
          hawk
        2. expected.jpg
          43 kB
          hawk

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: