<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>
正如您所描述的,我根据您的代码放置了2个网格,它仍然可以正常工作。请检查此示例https://zkfiddle.org/sample/jggcev/1-2-grids-in-hlayout-with-hflex
您能否为2格hflex问题发布可复制的代码?