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

grid with hflex=max or hflex=1 -> columns with hflex=min have only few pixel with

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 6.0.3
    • 5.0.9
    • Components
    • Firefox 7.01, Opera 11.52, IE9

    • None

      When i use the code example from , everything is fine.

      <grid hflex="min">
          <columns>
              <column hflex="min"/>
              <column hflex="min"/>
      <column   />
          </columns>
          <rows>
              <row> 
                  <label value="Name:"/>
                  <textbox/>
      	<cell />
              </row>
              <row> 
                  <label value="Birthday:"/>
                  <datebox/>
              </row>
          </rows>
      </grid>
      

      But I want the grid with hflex="max" or hflex="1".

      <grid hflex="max">
          <columns>
              <column hflex="min"/>
              <column hflex="min"/>
      <column   />
          </columns>
          <rows>
              <row> 
                  <label value="Name:"/>
                  <textbox/>
      	<cell />
              </row>
              <row> 
                  <label value="Birthday:"/>
                  <datebox/>
              </row>
          </rows>
      </grid>
      

      Now, the width of the columns is only a few pixel and not as before the minimum size.

      With ZK 5.0.7, it works properly.

            Hudson Hudson (Inactive)
            JGA JGA
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: