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

combobutton not using its defined/available width

XMLWordPrintable

    • ZK 8.5.1 S1

      Steps to Reproduce

      <combobutton label="400px" width="400px"/>
      <combobutton label="hflex" hflex="1"/>
      

      Actual Result

      the span.z-combobutton-content is rendered (as inline-block) to just fit around its label even if the surrounding span.z-combobutton is correctly sized to 400px / flex size

      Expected Result

      button using up the defined width: 400px /flex width

      Workaround

      adding either of the below style rules will stretch the span.z-combobutton-content into the available space:

      .z-combobutton-content {
      	width: 100%;
      }
      

      OR

      .z-combobutton-content {
      	display: block;
      }
      

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

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Time Spent - 35 minutes Remaining Estimate - 3 hours, 25 minutes
                3h 25m
                Logged:
                Time Spent - 35 minutes Remaining Estimate - 3 hours, 25 minutes
                35m