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

Panel disappears when hflex="min" and open="false"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 6.5.2
    • None
    • windows 7, firefox 20, IE10

      When I load a zul file that creates a panel with open="false", the panel does not display when that panel has hflex="min".

      Here is a code snippet that shows the issue. You can run it in the sandbox.

       
      
      <zk>
      
      <vlayout spacing="1em">
      
      <span>Using firefox 20 and IE 10. </span>
      
      <span style="color:red">Attributes: hflex=min, open=false</span>
      
      <div style="border:dashed red 1px">
      	<panel hflex="min" open="false" title="Panel" border="normal" collapsible="true" >
      		<panelchildren>
      			This is your data. Why does this disappear when this is collapsed? Clicking the collapse button works as expected.
      		</panelchildren>
      	</panel>
      </div>
      
      Attributes:  hflex=min, open=true
      
      <panel hflex="min" open="true" title="Panel" border="normal" collapsible="true" >
      	<panelchildren>
      		This is your data. Why does this disappear when this is collapsed? Clicking the collapse button works as expected.
      	</panelchildren>
      </panel>
      
      Attributes: width=200px, open=false
      
      <panel width="200px" open="false" title="Panel" border="normal" collapsible="true" >
      	<panelchildren>
      		This is your data. Why does this disappear when this is collapsed? Clicking the collapse button works as expected.
      	</panelchildren>
      </panel>
      
      </vlayout>
      
      </zk>
      

            jumperchen jumperchen
            Jackster Jackster
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: