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

listbox in vlayout / hlayout has missing borders with certain font size

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Normal Normal
    • None
    • 6.5.7, 7.0.3
    • None
    • Security Level: Jimmy
    • None

      Steps to Reproduce

      1. run attached zul with chrome 38

      Actual Result

      listbox in vlayout has missing bottom border and in hlayout has missing top and bottom borders.

      Expected Result

      no missing borders.

      Debug Information

      • firefox and IE 11 doesn't have this issue.
      • I notice that when height is a decimal number e.g. 56.75, the issue happens. While height is an integer, this issue disappears.
      • in 6.5.7, when font size > 10px will have this issue, in 7.0.3 some font size bigger than 10px will have this issue.
      • chrome 37 doesn't have this issue.
      • It relate to chrome's support for WriteDirect, disable that feature will also eliminate this issue.

      Extra Information

      The customer uses 6.5.7.

      Workaround

      • change font size
      • replace with hbox or vbox
      • set fixed height on a listbox
      • set style with margin-bottom: 1px or margin-top: 1px

            hanhsu hanhsu
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: