From 0f2e0147e8990e913d16d99bc1b94fb6bc53abd7 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期四, 03 十二月 2020 15:35:42 +0800 Subject: [PATCH] 2020-12-03-1 --- HDL_ON/UI/UI0-Public/Widget/ConfirmButton.cs | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI0-Public/Widget/ConfirmButton.cs b/HDL_ON/UI/UI0-Public/Widget/ConfirmButton.cs new file mode 100644 index 0000000..32b2f6e --- /dev/null +++ b/HDL_ON/UI/UI0-Public/Widget/ConfirmButton.cs @@ -0,0 +1,28 @@ +锘縰sing System; +using HDL_ON.UI.CSS; +using Shared; + +namespace HDL_ON.UI +{ + /// <summary> + /// 閫氱敤纭鎸夐挳 + /// </summary> + public class ConfirmButton : Button + { + public ConfirmButton() + { + Gravity = Gravity.CenterHorizontal; + Width = Application.GetRealWidth(220); + Height = Application.GetRealWidth(44); + BackgroundColor = CSS_Color.MainColor; + TextAlignment = TextAlignment.Center; + TextColor = CSS_Color.MainBackgroundColor; + TextSize = CSS_FontSize.SubheadingFontSize; + IsBold = true; + Radius = (uint)Application.GetRealWidth(22); + BorderColor = 0x00000000; + BorderWidth = 0; + + } + } +} -- Gitblit v1.8.0