From c47c3ec2488961b3a006aaebcb03dba582f8b19b Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期四, 12 三月 2020 17:08:42 +0800 Subject: [PATCH] 2020-03-12-1 --- ZigbeeApp/Shared/Phone/Device/CommonForm/SceneTargetFunctionRow.cs | 25 ++++++++++++++----------- 1 files changed, 14 insertions(+), 11 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/SceneTargetFunctionRow.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/SceneTargetFunctionRow.cs index 34e6352..6e36bc2 100755 --- a/ZigbeeApp/Shared/Phone/Device/CommonForm/SceneTargetFunctionRow.cs +++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/SceneTargetFunctionRow.cs @@ -33,7 +33,7 @@ X = Application.GetRealWidth(0); Y = Application.GetRealHeight(y); Width = Application.GetRealWidth(1080); - Height = Application.GetRealHeight(127); + Height = Application.GetRealHeight(127 - 2); } /// <summary> @@ -54,11 +54,12 @@ { X = Application.GetRealWidth(219), Y = Application.GetRealHeight(14), - Width = Application.GetRealWidth(300), + Width = Application.GetRealWidth(400), Height = Application.GetRealHeight(58), TextColor = ZigbeeColor.Current.GXCTextBlackColor, TextAlignment = TextAlignment.CenterLeft, - TextID = R.MyInternationalizationString.Delay + TextID = R.MyInternationalizationString.Delay, + TextSize = 14 }; AddChidren(NameBtn); @@ -66,30 +67,32 @@ { X = Application.GetRealWidth(219), Y = Application.GetRealHeight(72), - Width = Application.GetRealWidth(200), + Width = Application.GetRealWidth(400), Height = Application.GetRealHeight(49), TextAlignment = TextAlignment.CenterLeft, - TextColor = ZigbeeColor.Current.GXCPlaceHolderTextColor2 + TextColor = ZigbeeColor.Current.GXCPlaceHolderTextColor2, + TextSize = 12 }; AddChidren(ZoneBtn); StatuBtn = new Button { - X = Application.GetRealWidth(510), - Width = Application.GetRealWidth(500), + X = Application.GetRealWidth(650), + Width = Application.GetRealWidth(350), Height = Application.GetRealHeight(100), Gravity = Gravity.CenterVertical, TextAlignment = TextAlignment.CenterRight, - TextColor = ZigbeeColor.Current.GXCPlaceHolderTextColor2 + TextColor = ZigbeeColor.Current.GXCPlaceHolderTextColor2, + TextSize = 14 }; AddChidren(StatuBtn); line = new Button() { X = Application.GetRealWidth(222), - Y = Height - 2, + Y = Height - 1, Width = Application.GetRealWidth(800), - Height = 2, + Height = 1, BackgroundColor = ZigbeeColor.Current.GXCGrayLineColor2, }; AddChidren(line); @@ -137,7 +140,7 @@ /// <param name="hiden"></param> public void HideLine(bool hiden) { - line.Visible = hiden; + line.Visible = !hiden; } } } -- Gitblit v1.8.0