From a499dceb02f181e64956431ed0c682dd7d2ce7d7 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期二, 04 八月 2020 17:45:20 +0800 Subject: [PATCH] 2020-08-04-1 --- HDL_ON/UI/UI2/FuntionControlView/Music/View/SongView.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Music/View/SongView.cs b/HDL_ON/UI/UI2/FuntionControlView/Music/View/SongView.cs index 8c088e6..8be5b91 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Music/View/SongView.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Music/View/SongView.cs @@ -11,7 +11,7 @@ { Width = Application.GetRealWidth(375), Height = Application.GetRealHeight(44), - LineColor= Color.WhiteColor, + LineColor= MusicColor.WhiteColor, }; /// <summary> @@ -37,7 +37,7 @@ Y = Application.GetRealHeight(11), // Width = wText + Application.GetRealWidth(5), Height = Application.GetRealHeight(22), - TextColor = Color.MusicTxet14Color, + TextColor = MusicColor.MusicTxet14Color, TextSize = TextSize.Text16, TextAlignment = TextAlignment.CenterLeft, Name = "song", @@ -48,9 +48,9 @@ public Button singerBtn = new Button { Y = Application.GetRealHeight(11), - //Width = Application.GetRealWidth(220) - wText,//姝屽悕闀垮害灏忎簬250鎵嶅彲浠ユ樉绀烘瓕鎵嬪嚭鏉� + //Width = Application.GetRealWidth(220) - wText,//姝屽悕闀垮害灏忎簬220鎵嶅彲浠ユ樉绀烘瓕鎵嬪嚭鏉� Height = Application.GetRealHeight(22), - TextColor = Color.MusicNoTxetColor, + TextColor = MusicColor.MusicNoTxetColor, TextSize = TextSize.Text12, TextAlignment = TextAlignment.CenterLeft, //Text =("-" +songs.Artist).Trim(), @@ -112,11 +112,11 @@ var wText = songBtn.GetTextWidth() + Application.GetRealWidth(15); if (wText > Application.GetRealWidth(220)) { - wText = Application.GetRealWidth(220);//(姝屾洸+姝屾墜)瀹藉害鏈�澶у�兼椂260 + wText = Application.GetRealWidth(220);//(姝屾洸+姝屾墜)瀹藉害鏈�澶у�兼椂220 } songBtn.Width = wText; singerBtn.X = songBtn.Right; - singerBtn.Width = Application.GetRealWidth(220) - wText;//姝屽悕闀垮害灏忎簬250鎵嶅彲浠ユ樉绀烘瓕鎵嬪嚭鏉� + singerBtn.Width = Application.GetRealWidth(220) - wText;//姝屽悕闀垮害灏忎簬220鎵嶅彲浠ユ樉绀烘瓕鎵嬪嚭鏉� singerBtn.Text = string.IsNullOrEmpty(songs.Artist) ? "-Unkonw" : "-" + songs.Artist.Trim(); var music = A31MusicModel.Current.LoveMusicInfoList.Find((m) => m.URL == songs.URL); if (music != null) -- Gitblit v1.8.0