You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(TL;DR: This is likely the cause of Textual#3304 and this will likely be fixed if Textual#3413 is fixed first.)
Following #3304, an investigation showed that there are widgets for which the (text-)opacity in component classes is ignored.
Here are said widgets:
- Checkbox (ToggleButton's fault)
- DirectoryTree
- Input
- OptionList (as first reported in Textual#3304)
- RadioButton (ToggleButton's fault)
- Tree
After more digging and experimentation, it looks like it's textual.dom.DOMNode.rich_style that's not taking into account the style text-opacity when calculating the text color and this is the root cause of #3304.
(TL;DR: This is likely the cause of Textual#3304 and this will likely be fixed if Textual#3413 is fixed first.)
Following #3304, an investigation showed that there are widgets for which the (text-)opacity in component classes is ignored.
Here are said widgets:
-
Checkbox
(ToggleButton
's fault)-
DirectoryTree
-
Input
-
OptionList
(as first reported in Textual#3304)-
RadioButton
(ToggleButton
's fault)-
Tree
Below you can find an app that showcases these:
myapp.py
myapp.tcss
The text was updated successfully, but these errors were encountered: