From ae7c46bda98a987d170a9b8419fc014564790359 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期三, 06 五月 2020 14:20:12 +0800 Subject: [PATCH] 上传 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameRowControl.cs | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameRowControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameRowControl.cs index 9fff52d..8905b4b 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameRowControl.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameRowControl.cs @@ -42,7 +42,7 @@ /// <summary> /// 鍋氭垚涓�涓猂owLayout鍨嬬殑FrameLayout /// </summary> - /// <param name="i_ChidrenYaxis">瀛愭帶浠禮杞村亸绉婚噺(鐪熷疄鍊�,鏈変簺鐣岄潰闇�瑕佽繖绉嶇壒娈婃搷浣�)</param> + /// <param name="i_ChidrenYaxis">瀛愭帶浠禮杞村亸绉婚噺(銆愬垪琛ㄦ帶浠剁殑rowSpace/2銆戝嵆鍙�,涓嶆噦榛樿涓�0鍗冲彲)</param> public FrameRowControl(int i_ChidrenYaxis = 0) : base(i_ChidrenYaxis) { this.Height = ControlCommonResourse.ListViewRowHeight; @@ -331,7 +331,8 @@ } var contr = this.AddLeftCaption(i_caption, i_width, Application.GetRealHeight(60), false); contr.TextSize = 15; - contr.Y = Application.GetRealHeight(12) + this.chidrenYaxis; + //褰撴寚瀹氬疄闄呭潗鏍囨椂,杩欓噷闇�瑕佺殑鍋忕Щ閲忎负2鍊� + contr.Y = Application.GetRealHeight(12) + this.chidrenYaxis * 2; this.AddChidren(contr, ChidrenBindMode.BindEventOnly); return contr; @@ -355,7 +356,8 @@ i_width = Application.GetRealWidth(i_width); } var contr = this.AddLeftCaption(i_caption, i_width, Application.GetRealHeight(50), false); - contr.Y = Application.GetRealHeight(72) + this.chidrenYaxis; + //褰撴寚瀹氬疄闄呭潗鏍囨椂,杩欓噷闇�瑕佺殑鍋忕Щ閲忎负2鍊� + contr.Y = Application.GetRealHeight(72) + this.chidrenYaxis * 2; contr.TextSize = 12; contr.TextColor = UserCenterColor.Current.TextGrayColor1; this.AddChidren(contr, ChidrenBindMode.BindEventOnly); -- Gitblit v1.8.0