mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +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)
|
void Init (ustring text, bool is_default)
|
||||||
{
|
{
|
||||||
|
TextAlignment = TextAlignment.Centered;
|
||||||
|
|
||||||
HotKeySpecifier = new Rune ('_');
|
HotKeySpecifier = new Rune ('_');
|
||||||
|
|
||||||
_leftBracket = new Rune (Driver != null ? Driver.LeftBracket : '[');
|
_leftBracket = new Rune (Driver != null ? Driver.LeftBracket : '[');
|
||||||
|
|||||||
Reference in New Issue
Block a user