-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Horizontal ruled separator does not appear under Groups #1312
Comments
@nicolasap-dm points to these locations as being the potential sources of error - traitsui/traitsui/qt4/ui_panel.py Lines 631 to 635 in 94da89c
Lines 91 to 93 in ca84713
|
(I haven't followed the whole logic there, so they may be completely misguided. On the surface, however, the snippets look relevant.) |
Looking into this a bit it seems as though the separator is there, it just gets covered by a subsequent group(?). |
I believe the error here is really whenever a separator is the only Item in a Group (even an implicit group). traitsui/traitsui/qt4/ui_panel.py Lines 1008 to 1043 in 20f73e8
With nothing else in the layout I believe what is happening is the HLine effectively has no length. It is still there though, and we can see this because if we remove a separator between groups the 2 groups are shown much closer together: Unfortunately I am not seeing an easy / clean way to fix this... If this workaround solves the problem, I think it is safe to close this issue |
Item('_')
does not produce a visible separator when immediately underneath aGroup
To replicate:
The text was updated successfully, but these errors were encountered: