From 4dc8adc2bf82f1827324c4dbefbc4477202bc433 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期一, 23 九月 2024 16:53:33 +0800 Subject: [PATCH] 服务器自动选择;i --- HDL_ON/UI/UI1-Login/SelectServerDialog.cs | 35 +++-------------------------------- 1 files changed, 3 insertions(+), 32 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/SelectServerDialog.cs b/HDL_ON/UI/UI1-Login/SelectServerDialog.cs index 6d71973..671d5b8 100644 --- a/HDL_ON/UI/UI1-Login/SelectServerDialog.cs +++ b/HDL_ON/UI/UI1-Login/SelectServerDialog.cs @@ -44,7 +44,7 @@ bodyView.BackgroundColor = CSS_Color.MainBackgroundColor; this.AddChidren(bodyView); //鍔犺浇椤堕儴鑿滃崟鏍� - new TopViewDiv(this, bodyView, Language.StringByID(StringId.PlsSelectServer)).LoadTopView(); + new TopViewDiv(this, bodyView, Language.StringByID(StringId.PlsSelectServer)) { maginY = 10}.LoadTopView(); //鍔犺浇鏈嶅姟鍣ㄥ尯鍩熼�夋嫨 AddRegionalSelectionView(); //Show @@ -60,8 +60,8 @@ VerticalScrolViewLayout VerticalScrolViewMiddle = new VerticalScrolViewLayout() { - Y = Application.GetRealHeight(74), - Height = bodyView.Height - Application.GetRealHeight(74), + Y = Application.GetRealHeight(84), + Height = bodyView.Height - Application.GetRealHeight(84), ScrollEnabled = false, }; bodyView.AddChidren(VerticalScrolViewMiddle); @@ -125,35 +125,6 @@ } }); - //var bottomView = new FrameLayout() - //{ - // Y = Application.GetRealHeight(591), - // Height = Application.GetRealHeight(76) + Application.GetRealWidth(44), - // Radius = (uint)Application.GetRealWidth(22), - // BackgroundColor = CSS_Color.MainBackgroundColor, - //}; - //bodyView.AddChidren(bottomView); - - - //btnConfrim = new Button() - //{ - // Gravity = Gravity.CenterHorizontal, - // Y = Application.GetRealHeight(603), - // Width = Application.GetRealWidth(220), - // Height = Application.GetRealWidth(44), - // Radius = (uint)Application.GetRealWidth(22), - // BackgroundColor = CSS_Color.MainColor, - // TextColor = CSS_Color.MainBackgroundColor, - // TextSize = CSS_FontSize.SubheadingFontSize, - // TextAlignment = TextAlignment.Center, - // IsBold = true, - // TextID = StringId.ConfirmAdd, - //}; - //bodyView.AddChidren(btnConfrim); - - //btnConfrim.MouseUpEventHandler = (sender, e) => { - - //}; } /// <summary> -- Gitblit v1.8.0