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

Frozen doesn't respect innerWidth

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 7.0.0
    • Components
    • ZK 7 ~ 8.5: content is 100%
      ZK >= 8.6: header, content, and footer are 100%

      Steps to Reproduce

      <?xml version="1.0" encoding="UTF-8"?>
      <zk>
          <grid width="100%" innerWidth="50%">
              <frozen columns="1"/>
              <columns>
                  <column label="col1"/>
                  <column label="col2"/>
              </columns>
              <rows>
                <row>
                  <label value="Hello"/>
                  <label value="World"/>
                </row>
              </rows>
              <foot>
                  <footer label="foo1"/>
                  <footer label="foo2"/>
              </foot>
          </grid>
      </zk>
      

      Current Result

      The inner width is ignored.

      Expected Result

      The inner width should be 50% of the grid component.

      Debug Information

      • ZK 7 ~ 8.5: content is 100%
      • ZK >= 8.6: header, content, and footer are 100%

      Removed <frozen> and it is correct.

      Workaround

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

              Created:
              Updated: