enthought / enthought/traitsui

Horizontal ruled separator does not appear under Groups

Open
#1,312 5 comments 0 reactions 0 assignees View on GitHub
type: bug
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()
```
separator

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.