Make button text a property

This commit is contained in:
Andrei Zavatski
2020-07-12 12:27:26 +03:00
parent 40aa6c7453
commit da40f29b44
4 changed files with 29 additions and 19 deletions

View File

@ -36,7 +36,10 @@ namespace osu.Game.Tests.Visual.UserInterface
private class TestButton : CommentRepliesButton
{
protected override string GetText() => "sample text";
public TestButton()
{
Text = "sample text";
}
}
}
}