From 1fcf2302f79f9cbea5ef17c3688311ed65cfabb4 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 28 一月 2021 19:54:25 +0800 Subject: [PATCH] Win7新版本 --- HDL_ON/UI/UI2/FuntionControlView/Music/View/MusicSourceView.cs | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Music/View/MusicSourceView.cs b/HDL_ON/UI/UI2/FuntionControlView/Music/View/MusicSourceView.cs index 8ca489d..91ee709 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Music/View/MusicSourceView.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Music/View/MusicSourceView.cs @@ -9,7 +9,7 @@ /// </summary> public FrameLayout fLayout = new FrameLayout { - BackgroundColor = Color.WhiteColor, + BackgroundColor = MusicColor.WhiteColor, Height = Application.GetRealHeight(50), Width = Application.GetRealWidth(375), }; @@ -20,8 +20,8 @@ { X = Application.GetRealWidth(16), Y = Application.GetRealHeight(13), - Width = Application.GetMinRealAverage(24), - Height = Application.GetMinRealAverage(24), + Width = Application.GetRealWidth(24), + Height = Application.GetRealWidth(24), }; /// <summary> ///鏂囨湰 @@ -30,9 +30,9 @@ { X = Application.GetRealWidth(16), Y = Application.GetRealHeight(14), - Width = Application.GetRealWidth(140), + Width = Application.GetRealWidth(240), Height = Application.GetRealHeight(22), - TextColor = Color.TextColor, + TextColor = MusicColor.TextColor, TextSize = TextSize.Text16, TextAlignment = TextAlignment.CenterLeft, }; @@ -47,19 +47,19 @@ Width = Application.GetRealWidth(140), Height = Application.GetRealHeight(20), TextAlignment=TextAlignment.CenterRight, - TextColor = Color.MusicNoTxetColor, + TextColor = MusicColor.MusicNoTxetColor, TextSize = TextSize.Text14, }; /// <summary> ///涓嬩竴绾ц彍鍗曞浘鏍� /// </summary> - public Button nextLevelBtn = new Button + public Button nextLevelBtn = new Button { X = Application.GetRealWidth(339), Y = Application.GetRealHeight(17), - Width = Application.GetMinRealAverage(16), - Height = Application.GetMinRealAverage(16), + Width = Application.GetRealWidth(16), + Height = Application.GetRealWidth(16), UnSelectedImagePath = "MusicIcon/sourceNetx.png", }; @@ -69,8 +69,8 @@ public Button lineBtn = new Button { X = Application.GetRealWidth(16), - Width = Application.GetRealWidth(375-16-16), - BackgroundColor = Color.LineColor, + Width = Application.GetRealWidth(375 - 16 - 16), + BackgroundColor = MusicColor.LineColor, }; /// <summary> @@ -104,8 +104,8 @@ fLayout.AddChidren(inputTextBtn); nextLevelBtn.X = Application.GetRealWidth(333); nextLevelBtn.Y = Application.GetRealHeight(11); - nextLevelBtn.Width = Application.GetMinRealAverage(28); - nextLevelBtn.Height = Application.GetMinRealAverage(28); + nextLevelBtn.Width = Application.GetRealWidth(28); + nextLevelBtn.Height = Application.GetRealWidth(28); nextLevelBtn.UnSelectedImagePath = "MusicIcon/edit.png"; } fLayout.AddChidren(textBtn); -- Gitblit v1.8.0