From 627093aca723d4bfb971b97c828e8b3a22dbda78 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期五, 17 七月 2020 17:26:19 +0800
Subject: [PATCH] 2020-07-17-1
---
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ClickButtonControls/BottomLeftClickButton.cs | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ClickButtonControls/BottomLeftClickButton.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ClickButtonControls/BottomLeftClickButton.cs
index 211dcdc..c90de98 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ClickButtonControls/BottomLeftClickButton.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ClickButtonControls/BottomLeftClickButton.cs
@@ -7,7 +7,7 @@
/// <summary>
/// 浣嶄簬宸︿笅瑙掔殑鍗曞嚮鎺т欢
/// </summary>
- public class BottomLeftClickButton : FrameLayoutControl
+ public class BottomLeftClickButton : FrameLayoutStatuControl
{
#region 鈻� 鍙橀噺澹版槑___________________________
@@ -42,14 +42,14 @@
/// <param name="i_width">瀹藉害,鐪熷疄鍊�</param>
/// <param name="i_height">楂樺害,鐪熷疄鍊�</param>
/// <param name="i_radius">鍦嗚搴�(鍙瀹夊崜鏈夋晥)</param>
- public BottomLeftClickButton(int i_width, int i_height, int i_radius = 8)
+ public BottomLeftClickButton(int i_width, int i_height, int i_radius = 17)
{
this.Height = i_height;
this.Width = i_width;
this.Gravity = Gravity.BottomLeft;
#if Android
- this.Radius = 8;
+ this.RadiusEx = i_radius;
#endif
}
@@ -65,12 +65,12 @@
//鎶婁笂鍦嗚瑕嗙洊涓烘柟瑙�
this.btnTopTemp = new NormalViewControl(this.Width, Application.GetRealHeight(40), false);
btnTopTemp.BackgroundColor = i_backColor;
- this.AddChidren(btnTopTemp, ChidrenBindMode.BindEventOnly);
+ this.AddChidren(btnTopTemp, ChidrenBindMode.BindEvent);
//鎶婂彸涓嬪渾瑙掕鐩栦负鏂硅
this.btnBomTemp = new NormalViewControl(this.Width / 2, Application.GetRealHeight(40), false);
btnBomTemp.BackgroundColor = i_backColor;
btnBomTemp.Gravity = Gravity.BottomRight;
- this.AddChidren(btnBomTemp, ChidrenBindMode.BindEventOnly);
+ this.AddChidren(btnBomTemp, ChidrenBindMode.BindEvent);
//鍙栨秷鎸夐挳
this.btnButton = new NormalViewControl(this.Width - Application.GetRealWidth(10), Application.GetRealHeight(60), false);
btnButton.Gravity = Gravity.Center;
@@ -78,7 +78,7 @@
btnButton.Text = i_text;
btnButton.TextAlignment = TextAlignment.Center;
btnButton.BackgroundColor = i_backColor;
- this.AddChidren(btnButton, ChidrenBindMode.BindEventOnly);
+ this.AddChidren(btnButton, ChidrenBindMode.BindEvent);
//閲嶅啓鎺т欢鐐瑰嚮鐘舵��
this.SelectStatuEvent += (statu) =>
@@ -108,7 +108,7 @@
btnButton.TextAlignment = TextAlignment.Center;
btnButton.BackgroundColor = i_backColor;
btnButton.oldBackgroundColor = i_backColor;
- this.AddChidren(btnButton, ChidrenBindMode.BindEventOnly);
+ this.AddChidren(btnButton, ChidrenBindMode.BindEvent);
#endif
}
--
Gitblit v1.8.0