From 87bc1140ac4a1dc3e46a322444a80a9ce321b57d Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 11 四月 2023 13:33:42 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/wjc' into Dev-Wxr --- HDL_ON/UI/UI2/FuntionControlView/VideoDoorLock/VideoDoorLockPage.cs | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/VideoDoorLock/VideoDoorLockPage.cs b/HDL_ON/UI/UI2/FuntionControlView/VideoDoorLock/VideoDoorLockPage.cs index 42919c2..b76866c 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/VideoDoorLock/VideoDoorLockPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/VideoDoorLock/VideoDoorLockPage.cs @@ -217,6 +217,14 @@ cellFrame.AddChidren(btnCell); +#if __IOS__ +//btnCell.Padding = new Padding(0,0,0,0); + btnCell.Width += 5; + cellFrame.Width += 5; +#else +#endif + + //闂ㄩ攣鐘舵�� btnDoorLockIcon = new Button { @@ -371,12 +379,14 @@ private void CalculatedPosition() { this.btnCurrDeviceName.Width = this.btnCurrDeviceName.GetTextWidth(); + this.btnCurrDeviceName.Width += 10; if (this.btnCurrDeviceName.GetTextWidth() > this.btnCollectIcon.X) { //閲嶆柊璁$畻瀹藉害 this.btnCurrDeviceName.Width = this.btnCollectIcon.X + Application.GetRealWidth(-10); } this.btnCurrDeviceRoom.Width = this.btnCurrDeviceRoom.GetTextWidth(); + this.btnCurrDeviceRoom.Width += 10; if (this.btnCurrDeviceRoom.GetTextWidth() > this.btnCollectIcon.X) { //閲嶆柊璁$畻瀹藉害 -- Gitblit v1.8.0