From bd46c57c77c276014db3192a4e2cc96e23c93202 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 21 二月 2020 13:08:47 +0800 Subject: [PATCH] 先上传个版本吧 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/SceneSimpleSelectControl.cs | 17 ++++------------- 1 files changed, 4 insertions(+), 13 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/SceneSimpleSelectControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/SceneSimpleSelectControl.cs index 7637ca0..5c792d1 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/SceneSimpleSelectControl.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/SceneControls/SceneSimpleSelectControl.cs @@ -84,27 +84,18 @@ //鍥炬爣 var btnIcon = this.AddLeftIcon(); - btnIcon.UnSelectedImagePath = "Item/Scene.png"; + btnIcon.UnSelectedImagePath = "Scene/SceneIcon.png"; //鍦烘櫙 - var btnScene = this.AddLeftCaption(SceneTemp.Name, 850, 60); - btnScene.TextSize = 15; - //杩欎釜鍧愭爣鏈夌偣鐗规畩 - btnScene.Y = Application.GetRealHeight(12) + this.chidrenYaxis; - this.AddChidren(btnScene, ChidrenBindMode.BindEventOnly); + this.AddTopView(SceneTemp.Name, 850); //鎴块棿 string roomName = Common.Room.CurrentRoom.GetRoomNameBySceneId(SceneId); - var btnRoom = this.AddLeftCaption(roomName, 850, 50, true); - //杩欎釜鍧愭爣鏈夌偣鐗规畩 - btnRoom.Y = Application.GetRealHeight(72) + this.chidrenYaxis; - btnRoom.TextSize = 12; - btnRoom.TextColor = UserCenterColor.Current.TextGrayColor1; - this.AddChidren(btnRoom, ChidrenBindMode.BindEventOnly); + this.AddBottomView(roomName, 850); btnSelect = this.AddMostRightEmptyIcon(58, 58); btnSelect.Visible = false; - btnSelect.UnSelectedImagePath = "Item/Tick.png"; + btnSelect.UnSelectedImagePath = "Item/ItemSelected.png"; } #endregion -- Gitblit v1.8.0