Skip to content
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

Tooltips don't work on CheckListEditor #1739

Open
nicolasap-dm opened this issue Aug 5, 2021 · 0 comments
Open

Tooltips don't work on CheckListEditor #1739

nicolasap-dm opened this issue Aug 5, 2021 · 0 comments

Comments

@nicolasap-dm
Copy link
Contributor

nicolasap-dm commented Aug 5, 2021

Tooltips don't seem to work on CheckListEditors. All other Items I tested, including items editing List traits, work fine, but CheckListEditors don't. Tested on Linux and Windows with pyside2.

Peek 2021-08-05 12-44

Made using:

class HasCheckList(HasTraits):

    checklist = List(value=["foo"])
    checkbutton = Bool(False)

    traits_view = View(
        Group(
            Label("<b>Tooltip not working:</b>"),
            Item( 
                "checklist", 
                label="Check list editor",
                style="custom", 
                editor=CheckListEditor(values=["foo", "bar", "baz"]), 
                tooltip="Can't see this!",
            ),
            Label("<b>For comparison:</b>"),
            Item("checklist", label="Default editor", tooltip="Can see this"),
            Item("checkbutton", tooltip="Can see this")
        )
    )

HasCheckList().configure_traits()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants