歌名字體間距調整
This commit is contained in:
parent
b9ea041a72
commit
034715f55f
@ -1372,7 +1372,7 @@ private void DisplayArtists(List<Artist> artists, int page)//歌星點進去後
|
||||
AddCenteredPicture(headerBitmap, 150);
|
||||
|
||||
// 設定歌名顯示區域的起始 Y 位置
|
||||
int startY = 250;
|
||||
int startY = 180;
|
||||
|
||||
// 左列與右列的 X 位置
|
||||
int leftColumnX = 100;
|
||||
@ -1392,7 +1392,7 @@ private void DisplayArtists(List<Artist> artists, int page)//歌星點進去後
|
||||
}
|
||||
|
||||
// 字體大小
|
||||
int songFontSize = 35;
|
||||
int songFontSize = 45;
|
||||
int artistFontSize = 25;
|
||||
// 設定統一的行高
|
||||
int rowHeight = 0;
|
||||
@ -1429,7 +1429,7 @@ private void DisplayArtists(List<Artist> artists, int page)//歌星點進去後
|
||||
// 根據索引決定左側或右側顯示
|
||||
int x = (i - startIndex) < songsPerColumn ? leftColumnX : rightColumnX;
|
||||
// 計算 Y 位置
|
||||
int y = startY += 55;
|
||||
int y = startY += 65;
|
||||
// 顯示歌曲名稱圖片
|
||||
AddPicture(songBitmap, x, y);
|
||||
|
||||
@ -1478,7 +1478,7 @@ private void DisplayArtists(List<Artist> artists, int page)//歌星點進去後
|
||||
AddCenteredPicture(headerBitmap, 150);
|
||||
|
||||
// 設定歌名顯示區域的起始 Y 位置
|
||||
int startY = 250;
|
||||
int startY = 180;
|
||||
// 左列與右列的 X 位置
|
||||
int leftColumnX = 100;
|
||||
int rightColumnX = this.Width / 2 + 100;
|
||||
@ -1496,9 +1496,9 @@ private void DisplayArtists(List<Artist> artists, int page)//歌星點進去後
|
||||
}
|
||||
|
||||
// 字體大小
|
||||
int songFontSize = 35;
|
||||
int songFontSize = 45;
|
||||
int artistFontSize = 25;
|
||||
int verticalSpacing = 50;
|
||||
//int verticalSpacing = 50;
|
||||
// 統一行高計算
|
||||
int rowHeight = 0;
|
||||
for (int i = startIndex; i < endIndex; i++)
|
||||
@ -1535,7 +1535,7 @@ private void DisplayArtists(List<Artist> artists, int page)//歌星點進去後
|
||||
|
||||
int x = (i - startIndex) < songsPerColumn ? leftColumnX : rightColumnX;
|
||||
//int y = startY + ((i - startIndex) % songsPerColumn) * (rowHeight + verticalSpacing);
|
||||
int y = startY += 55;
|
||||
int y = startY += 65;
|
||||
// 顯示歌曲名稱圖片
|
||||
AddPicture(songBitmap, x, y);
|
||||
// 顯示歌手名稱圖片(稍微右移)
|
||||
|
Loading…
x
Reference in New Issue
Block a user