Skip to content
This repository has been archived by the owner on Aug 27, 2023. It is now read-only.

How to position tooltip on action items in the toolbar? #10

Open
grennis opened this issue Jan 20, 2018 · 3 comments
Open

How to position tooltip on action items in the toolbar? #10

grennis opened this issue Jan 20, 2018 · 3 comments

Comments

@grennis
Copy link

grennis commented Jan 20, 2018

Hi, we need to show tooltips to help user understand what the toolbar buttons do (in the top right corner of the screen). I'm not sure is it possible with this library? Library seems to require positioning relative to a view.

@spyhunter99
Copy link
Owner

spyhunter99 commented Jan 20, 2018 via email

@grennis
Copy link
Author

grennis commented Jan 20, 2018

Yes I found I can get the toolbar and find the children in it and that works. Thanks!

@grennis grennis closed this as completed Jan 20, 2018
@grennis
Copy link
Author

grennis commented Jan 20, 2018

Actually I found this is not the case. The action items in the toolbar are represented by one view (ActionMenuView) and therefore I can't position the tooltip on one item inside it. I think I will have to create a ghost placeholder view and manually position it and then position the tooltip relative to that. I think the library should support this for me, either directly supporting toolbar action items or at least allowing me to specify an X, Y instead of a view.

@grennis grennis reopened this Jan 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants