mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-27 08:17:53 +01:00
Button text should be centered by default.
This commit is contained in:
@@ -99,6 +99,8 @@ namespace Terminal.Gui {
|
||||
|
||||
void Init (ustring text, bool is_default)
|
||||
{
|
||||
TextAlignment = TextAlignment.Centered;
|
||||
|
||||
HotKeySpecifier = new Rune ('_');
|
||||
|
||||
_leftBracket = new Rune (Driver != null ? Driver.LeftBracket : '[');
|
||||
|
||||
Reference in New Issue
Block a user