mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:07:25 +08:00
truncate long usernames in private chat
This commit is contained in:
parent
cc0aefca1f
commit
edf6453e04
@ -65,6 +65,12 @@ namespace osu.Game.Overlays.Chat.Tabs
|
||||
|
||||
Text.X = ChatOverlay.TAB_AREA_HEIGHT;
|
||||
TextBold.X = ChatOverlay.TAB_AREA_HEIGHT;
|
||||
|
||||
Text.Width = 100f;
|
||||
TextBold.Width = 100f;
|
||||
|
||||
Text.Truncate = true;
|
||||
TextBold.Truncate = true;
|
||||
}
|
||||
|
||||
protected override bool ShowCloseOnHover => false;
|
||||
|
Loading…
Reference in New Issue
Block a user