|
|
@@ -52,7 +52,10 @@
|
|
|
<TileLayout name="shangpin_foodlist" bkcolor="#00000000" vscrollbar="true" hscrollbar="false" childpadding="10">
|
|
|
</TileLayout>
|
|
|
|
|
|
- <HorizontalLayout height="40" childpadding="10">
|
|
|
+ <!-- inset 右 12:右列 shangpin_food_layout 的 inset 右必须为 0(滚动条贴窗口右缘),
|
|
|
+ 但搜索框是本列唯一会自动铺满的行,不补这 12 就会冲到最后一行右边,
|
|
|
+ 左边距 12 右边距 0 不对称。此 inset 只作用于本行,不影响上方两个滚动容器。 -->
|
|
|
+ <HorizontalLayout height="40" inset="0,0,12,0" childpadding="10">
|
|
|
<HorizontalLayout bkimage="file='dc_search.png' corner='20,20,20,20'" inset="16,0,12,0" childpadding="8" childvalign="vcenter">
|
|
|
<Control bkimage="dc_ico_search16.png" width="16" height="16" maxheight="16"/>
|
|
|
<Edit name="shangpin_food_search_edit" tooltip="请输入商品名字或条码搜索" font="12" textcolor="#FF1F2329" maxheight="24" bkcolor="#00000000" nativebkcolor="#FFEFF1F3"/>
|