From 24dce73df68f96c4e7ae4ef82658d5fc89f31e0b Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期一, 23 八月 2021 09:58:33 +0800
Subject: [PATCH] 1
---
HDL_ON/UI/UI2/FuntionControlView/Music/View/MusicView.cs | 52 +++++++++++++++++++++++++---------------------------
1 files changed, 25 insertions(+), 27 deletions(-)
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Music/View/MusicView.cs b/HDL_ON/UI/UI2/FuntionControlView/Music/View/MusicView.cs
index 5668b48..1dfd44f 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Music/View/MusicView.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Music/View/MusicView.cs
@@ -12,7 +12,6 @@
{
Height = Application.GetRealHeight(12 + 139),
Width = Application.GetRealWidth(375),
-
};
/// <summary>
///鐧借壊鑳屾櫙鐨勬帶浠�
@@ -23,7 +22,7 @@
Y = Application.GetRealHeight(12),
Height = Application.GetRealHeight(139),
Width = Application.GetRealWidth(375 - 16 * 2),
- BackgroundColor = Color.WhiteColor,
+ BackgroundColor = MusicColor.WhiteColor,
Radius= (uint)Application.GetRealHeight(12),
};
/// <summary>
@@ -33,8 +32,8 @@
{
X = Application.GetRealWidth(10),
Y = Application.GetRealHeight(15),
- Width = Application.GetMinRealAverage(32),
- Height = Application.GetMinRealAverage(32),
+ Width = Application.GetRealWidth(32),
+ Height = Application.GetRealWidth(32),
UnSelectedImagePath = "MusicIcon/playStatus.png",
};
/// <summary>
@@ -46,7 +45,7 @@
Y = Application.GetRealHeight(18),
Width = Application.GetRealWidth(70),
Height = Application.GetRealHeight(25),
- BackgroundColor = Color.ViewColor,
+ BackgroundColor = MusicColor.ViewColor,
Radius = (uint)Application.GetRealHeight(12),
};
/// <summary>
@@ -56,8 +55,8 @@
{
X = Application.GetRealWidth(214 + 13),
Y = Application.GetRealHeight(18 + 5),
- Width = Application.GetMinRealAverage(16),
- Height = Application.GetMinRealAverage(16),
+ Width = Application.GetRealWidth(16),
+ Height = Application.GetRealWidth(16),
UnSelectedImagePath = "MusicIcon/Merge.png",
};
/// <summary>
@@ -66,13 +65,12 @@
public Button mergeBtn = new Button
{
TextID=StringId.merge,
- X = Application.GetRealWidth(214 + 33),
+ X = Language.CurrentLanguage == "Chinese" ? Application.GetRealWidth(214 + 33): Application.GetRealWidth(214 + 28),
Y = Application.GetRealHeight(18 + 4),
- Width = Application.GetRealWidth(24+3+5),
+ Width = Language.CurrentLanguage == "Chinese" ? Application.GetRealWidth(24+3+5) : Application.GetRealWidth(24 + 3 + 15),
Height = Application.GetRealHeight(17),
- TextColor = Color.TextColor,
- TextSize=TextSize.Text12,
-
+ TextColor = MusicColor.TextColor,
+ TextSize= Language.CurrentLanguage == "Chinese" ? TextSize.Text12 :CSS.CSS_FontSize.PromptFontSize_SecondaryLevel,
};
/// <summary>
///鏀惰棌鍥炬爣
@@ -81,8 +79,8 @@
{
X = Application.GetRealWidth(299),
Y = Application.GetRealHeight(10),
- Width = Application.GetMinRealAverage(40),
- Height = Application.GetMinRealAverage(40),
+ Width = Application.GetRealWidth(40),
+ Height = Application.GetRealWidth(40),
UnSelectedImagePath = "MusicIcon/collect.png",
SelectedImagePath = "MusicIcon/collectSelected.png",
};
@@ -95,7 +93,7 @@
Y = Application.GetRealHeight(12),
Width = Application.GetRealWidth(140),
Height = Application.GetRealHeight(20),
- TextColor = Color.MusicTxet14Color,
+ TextColor = MusicColor.MusicTxet14Color,
TextSize = TextSize.Text14,
TextAlignment = TextAlignment.CenterLeft,
};
@@ -108,7 +106,7 @@
Y = Application.GetRealHeight(36),
Width = Application.GetRealWidth(120),
Height = Application.GetRealHeight(14),
- TextColor = Color.MusicNoTxetColor,
+ TextColor = MusicColor.MusicNoTxetColor,
TextSize = TextSize.Text10,
TextAlignment = TextAlignment.CenterLeft,
@@ -119,10 +117,10 @@
public Button musicNameBtn = new Button
{
X = Application.GetRealWidth(54),
- Y = Application.GetRealHeight(58),
+ Y = Application.GetRealHeight(40),//58
Width = Application.GetRealWidth(140),
Height = Application.GetRealHeight(17),
- TextColor = Color.MusicTxet14Color,
+ TextColor = MusicColor.TextCancelColor,
TextSize = TextSize.Text12,
TextAlignment = TextAlignment.CenterLeft,
};
@@ -133,10 +131,10 @@
{
//Text = i.ToString(),
X = Application.GetRealWidth(54),
- Y = Application.GetRealHeight(79),
+ Y = Application.GetRealHeight(61),//79
Width = Application.GetRealWidth(120),
Height = Application.GetRealHeight(14),
- TextColor = Color.MusicNoTxetColor,
+ TextColor = MusicColor.MusicNoTxetColor,
TextSize = TextSize.Text10,
TextAlignment = TextAlignment.CenterLeft,
@@ -158,8 +156,8 @@
{
X = Application.GetRealWidth(163),
Y = Application.GetRealHeight(101),
- Width = Application.GetMinRealAverage(32),
- Height = Application.GetMinRealAverage(32),
+ Width = Application.GetRealWidth(32),
+ Height = Application.GetRealWidth(32),
UnSelectedImagePath = "MusicIcon/prev.png",
SelectedImagePath = "MusicIcon/prevSeletced.png",
};
@@ -170,8 +168,8 @@
{
X = Application.GetRealWidth(233),
Y = Application.GetRealHeight(101),
- Width = Application.GetMinRealAverage(32),
- Height = Application.GetMinRealAverage(32),
+ Width = Application.GetRealWidth(32),
+ Height = Application.GetRealWidth(32),
UnSelectedImagePath = "MusicIcon/pause.png",
SelectedImagePath = "MusicIcon/play.png",
};
@@ -182,8 +180,8 @@
{
X = Application.GetRealWidth(303),
Y = Application.GetRealHeight(101),
- Width = Application.GetMinRealAverage(32),
- Height = Application.GetMinRealAverage(32),
+ Width = Application.GetRealWidth(32),
+ Height = Application.GetRealWidth(32),
UnSelectedImagePath = "MusicIcon/next.png",
SelectedImagePath = "MusicIcon/nextSelected.png",
};
@@ -201,7 +199,7 @@
musicIfonFl.AddChidren(mergeBtn);
musicIfonFl.AddChidren(collectIconBtn);
musicIfonFl.AddChidren(songNameBtn);
- musicIfonFl.AddChidren(singerBtn);
+ //musicIfonFl.AddChidren(singerBtn);
musicIfonFl.AddChidren(musicNameBtn);
musicIfonFl.AddChidren(regionBtn);
musicIfonFl.AddChidren(clickBtn);
--
Gitblit v1.8.0