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

3d Groupbox cave has extra top border when having title

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.0.1
    • Component/s: CSS
    • Labels:

      Description

      In 3d mold, Groupbox cave has extra top border when having title, compared with having caption.

      <hlayout>
      	<groupbox mold="3d" height="200px" width="200px">
      		<caption label="Groupbox" />
      		Groupbox
      	</groupbox>
      	<groupbox mold="3d" title="Groupbox" height="200px" width="200px">
      		Groupbox
      	</groupbox>
      </hlayout>
      

      cause:

      _contentAttrs: function () {
      	...
      	if (cap) s = 'border-top:0;' + (s||''); // <- should concern title too
      	...
      },
      

        Attachments

          Activity

            People

            • Assignee:
              SimonPai SimonPai
              Reporter:
              SimonPai SimonPai
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: