enthought / enthought/traitsui
Horizontal ruled separator does not appear under Groups
- Dominant language
- Python
- Stars
- 306
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
`Item('_')` does not produce a visible separator when immediately underneath a `Group`
To replicate:
```
from traits.api import *
from traitsui.api import *
class SeparatorTest(HasTraits):
view = View(
Label('Above'),
Item('_'),
Label('Below'),
Item('_'),
Group(Label('Caverns')),
Item('_'),
Group(Label('Dungeons')),
Item('_'),
Group(Label("Extra dungeons")),
Item('_'),
Label('Foundations')
)
if __name__ == "__main__":
separator = SeparatorTest()
separator.configure_traits()
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Run the provided SeparatorTest example with TraitsUI and compare separators before and after Group entries. Trace how Item('_') and Group are handled during view construction or rendering. Done means horizontal ruled separators are visibly rendered when immediately under each Group, without regressing the other separators.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100