From 2d5639dfb8014e78e6f1e68240fa751c19bb3a28 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期四, 02 一月 2020 18:35:40 +0800 Subject: [PATCH] 2019.1.2 --- ZigbeeApp/Shared/Phone/Device/CommonForm/FunctionMainView.cs | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/FunctionMainView.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/FunctionMainView.cs index ce78534..448da2e 100644 --- a/ZigbeeApp/Shared/Phone/Device/CommonForm/FunctionMainView.cs +++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/FunctionMainView.cs @@ -101,7 +101,8 @@ Height = Application.GetMinRealAverage(63), TextColor = ZigbeeColor.Current.GXCTextGrayColor, SelectedTextColor = ZigbeeColor.Current.GXCTextWhiteColor, - TextAlignment=TextAlignment.CenterLeft + TextAlignment=TextAlignment.CenterLeft, + TextSize=15 }; AddChidren(NameButton); @@ -156,7 +157,9 @@ Height = Application.GetMinRealAverage(60), TextColor = ZigbeeColor.Current.GXCTextBlackColor, SelectedTextColor = ZigbeeColor.Current.GXCTextSelectedColor, - TextAlignment=TextAlignment.CenterLeft + TextAlignment=TextAlignment.CenterLeft, + TextSize=14, + IsBold=true }; AddChidren(StatuButton); @@ -177,9 +180,10 @@ /// SetStatu /// </summary> /// <param name="statu"></param> - public void SetStatu(bool statu) + private void SetStatu(bool statu) { NameButton.IsSelected = IconButton.IsSelected = SwitchButton.IsSelected = StatuButton.IsSelected = CardBG.IsSelected = statu; + NameButton.IsBold = statu; } /// <summary> -- Gitblit v1.8.0