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

splitter fails to work with a tabbox

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.3
    • 8.0.2
    • Components
    • Security Level: Jimmy
    • ZK 8.0.3 S7, ZK 8.0.3 S9, ZK 8.0.3 S10

      steps to reproduce

      run the attached example
      A) drag the splitter left then right again
      B) collapse and expand the splitter

      actual result

      A) the splitter only resizes properly when dragged to the left
      B) the tabbox does not resize after the splitter is expanded
      --> causes a horizontal scrollbar

      expected result

      the tabbox should not stop the splitter from resizing

      debug info

      the tabbox defines a fixed width at one of its child elements interfering with the resizing of the splitter.

      <div id="pKCQ6" class="z-tabs" style="width: 1725px;">...</div>
      

      when this width is removed manually the splitter can be dragged to the right again and the tabbox shrinks accordingly (but resetting the fixed width at the z-tabs element)

      root cause

      splitter requires a <hbox> component which uses a <table> layout.
      It seems fixed widths conflict with the table column sizing algorithm

      Workaround

      use a <borderlayout> with a collapsible <west> and a <center> element

            Leon03 Leon03
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d