`TextBoxOverlay` incorrectly overrides `Component.padding`
Open
- Dominant language
- Python
- Stars
- 305
- Forks
- 97
- PR merge metrics
- No merged PRs in 30d
Description
**Problem Description**
The base `Component` class has a `padding` trait which is a `Property` that can take a number of different values, but `TextBoxOverlay` which is a subclass of `Component`, overrides this as an `Int`.
This is used as a margin around all sides of the text inside the component's rectangle, rather than the padding outside the rectangle.
A simple fix would be to re-name the trait on `TextBoxOverlay` to something else (eg. `text_padding` or `margin`).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.