From 9c16d3614d9b88c637f967518a329f239fcd3aaf Mon Sep 17 00:00:00 2001 From: lss <316519258@qq.com> Date: 星期五, 12 六月 2020 09:22:04 +0800 Subject: [PATCH] 2020.06.12 --- 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 c9f3365..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, uint 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 = i_radius; + 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