- less entries to increase text-height (better readable)
- added MaxW to texts
This commit is contained in:
1 parent
10915cf6b9
commit
9aeb5c55ab
2 files changed
+3
-1
No files matched your search
@@ -862,7 +862,7 @@
|
|||||||
</SongMenuTileBoard>
|
</SongMenuTileBoard>
|
||||||
|
|
||||||
<SongMenuList>
|
<SongMenuList>
|
||||||
<ListLength>20</ListLength>
|
<ListLength>15</ListLength>
|
||||||
<SpaceW>10</SpaceW>
|
<SpaceW>10</SpaceW>
|
||||||
<SpaceH>10</SpaceH>
|
<SpaceH>10</SpaceH>
|
||||||
<TileRect>
|
<TileRect>
|
||||||
|
|||||||
@@ -185,6 +185,8 @@ namespace VocaluxeLib.Menu.SongMenu
|
|||||||
CText text = new CText(textRect.X, textRect.Y, textRect.Z,
|
CText text = new CText(textRect.X, textRect.Y, textRect.Z,
|
||||||
textRect.H, textRect.W, EAlignment.Left, EStyle.Normal,
|
textRect.H, textRect.W, EAlignment.Left, EStyle.Normal,
|
||||||
"Normal", _Artist.Color, "");
|
"Normal", _Artist.Color, "");
|
||||||
|
text.MaxRect = new SRectF(text.MaxRect.X, text.MaxRect.Y, MaxRect.W + MaxRect.X - text.Rect.X - 5f, text.MaxRect.H, text.MaxRect.Z);
|
||||||
|
text.ResizeAlign = EHAlignment.Center;
|
||||||
|
|
||||||
_Texts.Add(text);
|
_Texts.Add(text);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user