Swap the checkbox character to an X

See #1934. Simply put: the character that we were doesn't render well at all
in Windows Terminal on Windows 10; while there are other options available,
few seem to work well there either. So here we go for a bold X; this should
render fine everywhere.
This commit is contained in:
Dave Pearson
2023-03-06 11:19:29 +00:00
parent 623b70d4ac
commit f7a6981abf
2 changed files with 186 additions and 185 deletions

View File

@@ -65,6 +65,7 @@ class ToggleButton(Static, can_focus=True):
ToggleButton > .toggle--button {
color: $background;
text-style: bold;
background: $foreground 15%;
}
@@ -99,7 +100,7 @@ class ToggleButton(Static, can_focus=True):
BUTTON_LEFT: str = ""
"""The character used for the left side of the toggle button."""
BUTTON_INNER: str = ""
BUTTON_INNER: str = "X"
"""The character used for the inside of the button."""
BUTTON_RIGHT: str = ""

File diff suppressed because one or more lines are too long