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

Window's content should not contain padding when no border on it

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 10.2.0
    • 7.0.8
    • Theme
    • None

      Steps to Reproduce

      1. Run the following code

      <zk>
          <window border="none" width="300px" height="300px" style="border: 1px solid red">
             <div hflex="1" vflex="1" style="border: 1px solid blue">The blue div should cover the red border.</div>
        </window>
      </zk> 

      Current Result 

      The size of the blue border is less than the size of the red border.

      Expected Result 

      The blue border and red border are the same size.

      Debug Information

       

      Workaround

       

            Leon03 Leon03
            jumperchen jumperchen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: