From 4b378188ce972df432b23d9cb73babb6cc0679c6 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 17 一月 2020 14:56:15 +0800 Subject: [PATCH] 合并代码 ver.10086 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/ScenePictrueControl.cs | 15 ++++++--------- 1 files changed, 6 insertions(+), 9 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/ScenePictrueControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/ScenePictrueControl.cs index 0798972..0e07a8a 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/ScenePictrueControl.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/ScenePictrueControl.cs @@ -17,7 +17,7 @@ public ScenePictrueControl() { this.UseClickStatu = false; - this.Height = Application.GetRealHeight(420); + this.Height = Application.GetRealHeight(440); } /// <summary> @@ -42,14 +42,11 @@ btnPic.Radius = (uint)Application.GetRealHeight(17); this.AddChidren(btnPic, ChidrenBindMode.NotBind); - //瀹冪殑涓婇潰鏈変竴灞傞槾褰� - var frameBack = new FrameLayout(); - frameBack.Width = btnPic.Width; - frameBack.Height = btnPic.Height; - frameBack.X = btnPic.X; - frameBack.BackgroundColor = 0x40000000; - frameBack.Radius = (uint)Application.GetRealHeight(17); - this.AddChidren(frameBack, ChidrenBindMode.BindEventOnly); + //闃村奖 + var btnShadow = new PicViewControl(btnPic.Width + Application.GetRealWidth(14 * 2), btnPic.Height + Application.GetRealHeight(43), false); + btnShadow.X = btnPic.X - Application.GetRealWidth(14); + btnShadow.UnSelectedImagePath = "Scene/SceneShadow.png"; + this.AddChidren(btnShadow, ChidrenBindMode.BindEventOnly); var btnName = new NormalViewControl(251, 282, true); btnName.IsMoreLines = true; -- Gitblit v1.8.0