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

Wrong behavior of hflex="min"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Later
    • Resolution: Unresolved
    • Affects Version/s: 5.0.11
    • Fix Version/s: None
    • Component/s: Container
    • Labels:
    • Environment:

      FF IE Chrom

      Description

      I have grid with first column hflex="min", and it ok, column has min (by content) size
      <grid vflex="min" hflex="true">
      <columns>
      <column hflex="min"/>
      <column hflex="true"/>
      </columns>
      <rows>
      <row>
      <label value="Глобальный ID"/>
      <textbox id="globalId" readonly="true" hflex="true"/>
      </row>
      <row>
      <label value="Локальный ID"/>
      <textbox id="localId" readonly="true" hflex="true"/>
      </row>

      </rows>
      </grid>

      If i add another row with spans="2" then first colum not has min size

      <row spans="2">
      <hlayout>
      <checkbox id="chkHomeComplex" disabled="true" label="Домашний комплекс"/>
      <checkbox id="chkNearComplex" disabled="true" label="Соседний домашнему комплексу"/>
      <checkbox id="chkSecret" disabled="true" label="Комплекс закрытого контура"/>
      <checkbox id="chkArchive" disabled="true" label="Архивный"/>
      </hlayout>
      </row>

      I think first column must be minimum size.

        Attachments

          Activity

            People

            Assignee:
            Hudson Hudson
            Reporter:
            pe4enko pe4enko
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: