From cc0d80c7d86c6d0167269b3408c4b30c24ce84e9 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 23 三月 2020 16:55:37 +0800
Subject: [PATCH] ???????
---
ZigbeeApp/Shared/Phone/Device/CommonForm/FunctionButton.cs | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/FunctionButton.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/FunctionButton.cs
index 176cd8e..fba65f2 100755
--- a/ZigbeeApp/Shared/Phone/Device/CommonForm/FunctionButton.cs
+++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/FunctionButton.cs
@@ -83,19 +83,21 @@
Gravity = Gravity.CenterHorizontal,
UnSelectedImagePath = imagePath,
SelectedImagePath = selectedImagePath,
- Tag = Tag
+ Tag = Tag,
+ IsSelected=true
};
AddChidren(ImageBtn);
NameBtn = new Button()
{
Y = Application.GetRealHeight(200),
- Width = Application.GetRealWidth(160),
+ Width = Application.GetRealWidth(170),
Height = Application.GetRealHeight(60),
Gravity = Gravity.CenterHorizontal,
TextColor = ZigbeeColor.Current.GXCTextBlackColor,
SelectedTextColor = ZigbeeColor.Current.GXCTextSelectedColor,
- Tag = Tag
+ Tag = Tag,
+ TextSize=11
};
AddChidren(NameBtn);
@@ -131,8 +133,8 @@
public void SetStatu(bool statu)
{
ImageBG.IsSelected = NameBtn.IsSelected = statu;
+ NameBtn.IsBold = statu;
}
-
}
}
--
Gitblit v1.8.0