From 66a9965c44ecc32a6696abca876ab9d1cd091584 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期五, 28 二月 2020 15:25:13 +0800 Subject: [PATCH] 2020.2.28 --- ZigbeeApp/Shared/Phone/Device/Logic/Cycle.cs | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/Cycle.cs b/ZigbeeApp/Shared/Phone/Device/Logic/Cycle.cs index f257172..7ee68de 100755 --- a/ZigbeeApp/Shared/Phone/Device/Logic/Cycle.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/Cycle.cs @@ -31,14 +31,15 @@ var titleName = new Button { - TextSize = 16, + TextSize = 17, TextColor = ZigbeeColor.Current.LogicTextBlackColor, TextAlignment = TextAlignment.CenterLeft, X = Application.GetRealWidth(176), - Width = Application.GetRealWidth(400), + Width = Application.GetRealWidth(600), Height = Application.GetRealHeight(69), Y = Application.GetRealHeight(92), TextID = MyInternationalizationString.cycle, + IsBold = true, }; topRowLayout.AddChidren(titleName); @@ -96,6 +97,7 @@ BackgroundColor = ZigbeeColor.Current.LogicBtnSaveBackgroundColor, TextID = MyInternationalizationString.Save, TextColor = ZigbeeColor.Current.LogicBtnSaveTextColor, + TextSize = 16, }; middle.AddChidren(btnsave); @@ -135,6 +137,7 @@ Text = Language.StringByID(MyInternationalizationString.executeonce), TextAlignment = TextAlignment.CenterLeft, TextColor = ZigbeeColor.Current.LogicTextBlackColor, + TextSize = 15, }; onceRow.AddChidren(onceTextBtn); @@ -181,6 +184,7 @@ TextID = MyInternationalizationString.everyday, TextAlignment = TextAlignment.CenterLeft, TextColor = ZigbeeColor.Current.LogicTextBlackColor, + TextSize = 15, }; everydayRow.AddChidren(everydayTxetBtn); @@ -225,6 +229,7 @@ TextAlignment = TextAlignment.CenterLeft, TextID = MyInternationalizationString.weekly, TextColor = ZigbeeColor.Current.LogicTextBlackColor, + TextSize = 15, }; weekRow.AddChidren(weekTextBtn); @@ -274,6 +279,7 @@ TextAlignment = TextAlignment.CenterLeft, TextID = MyInternationalizationString.monthly, TextColor = ZigbeeColor.Current.LogicTextBlackColor, + TextSize = 15, }; monthlyRow.AddChidren(monthlyTextBtn); @@ -323,6 +329,7 @@ TextAlignment = TextAlignment.CenterLeft, TextID = MyInternationalizationString.everyyear, TextColor = ZigbeeColor.Current.LogicTextBlackColor, + TextSize = 15, }; yearRow.AddChidren(yearTextBtn); @@ -425,10 +432,11 @@ { if (!onceBackBtn.Visible && !everydayBack.Visible) { - var alert = new Alert(Language.StringByID(MyInternationalizationString.Prompt), - Language.StringByID(MyInternationalizationString.selectweek), - Language.StringByID(MyInternationalizationString.complete)); + + var alert = new UserCenter.ShowMsgControl(UserCenter.ShowMsgType.Normal, + Language.StringByID(MyInternationalizationString.selectweek), + Language.StringByID(MyInternationalizationString.confrim)); alert.Show(); return; } -- Gitblit v1.8.0