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

Frozen doesn't respect innerWidth

    XMLWordPrintable

    Details

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

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

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: