hflex在zk 9.0.1.2版中不起作用

问题描述 投票:1回答:1
<hlayout width="100%" height="100%">
    <grid height="100%" sclass="farm-form-grid" hflex="1" xmlns:ca="client/attribute" ca:data-scrollable="false">
        <columns>
            <column width="2.2%" align="right" height="28px"/>
            <column width="34%" align="left"/>
            <column width="57%" align="left" />
        </columns>
        <rows sclass="farm-sale-rows">
            <row sclass="">
                <hlayout>
                    <label value="*" sclass="farm-label" />
                </hlayout>
                <hlayout>
                    <label value="Map Layer:" sclass="farm-label "/>
                </hlayout>
                <hlayout>
                    <textbox id="mapLayerTextbox" instant="true" sclass="intboxwidth"/>
                </hlayout>
            </row>
        </rows>
    </grid>
</hlayout>
  • 我已在网格中使用hflex =“ 1”将其分为两部分。
  • 但无法在布局中获得两个部分。
zk zul
1个回答
0
投票

正如您所描述的,我根据您的代码放置了2个网格,它仍然可以正常工作。请检查此示例https://zkfiddle.org/sample/jggcev/1-2-grids-in-hlayout-with-hflex

您能否为2格hflex问题发布可复制的代码?

© www.soinside.com 2019 - 2024. All rights reserved.