From 6b6a65cc86b668b57a84d6d8a7bec4c43ddcc0f5 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 02 十二月 2020 20:35:02 +0800 Subject: [PATCH] 2020-12-02-4 --- HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs index 7bff1ae..16e1c44 100644 --- a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs +++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs @@ -224,7 +224,7 @@ { Gravity = Gravity.CenterHorizontal, Width = Application.GetRealWidth(343), - Height = Application.GetRealHeight(184), + Height = Application.GetRealWidth(192),//2020-12-01 鎴块棿鍥剧墖姣斾緥鏀瑰洖16:9 Radius = (uint)Application.GetRealWidth(12), Tag = room.sid, }; @@ -233,7 +233,7 @@ var roomViewbg = new ImageView() { Width = Application.GetRealWidth(343), - Height = Application.GetRealHeight(184), + Height = Application.GetRealWidth(192),//2020-12-01 鎴块棿鍥剧墖姣斾緥鏀瑰洖16:9 ImagePath = room.backgroundImage, Radius = (uint)Application.GetRealWidth(12), }; @@ -353,14 +353,14 @@ var btn = new Button() { - Height = Application.GetRealHeight(20), + Height = Application.GetRealWidth(20), }; roomListView.AddChidren(btn); roomViewbgColor.MouseUpEventHandler += (sender, e) => { - Action<Room > ReloadRoomName = (obj) => { - btnFloorAndRoomName.Text = obj.floorName + obj.name; + Action ReloadRoomName = () => { + btnFloorAndRoomName.Text = room.floorName + room.name; }; var view = new RoomPage(room, ReloadRoomName); -- Gitblit v1.8.0