wjc
2023-04-11 f2b2a70331d574a345cab0906d4d4b0de48c38b1
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)
            {
                //重新计算宽度