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

Header columns hint doesn't work #958

Closed
LukaszDemczuk opened this issue Mar 25, 2020 · 4 comments
Closed

Header columns hint doesn't work #958

LukaszDemczuk opened this issue Mar 25, 2020 · 4 comments
Labels
Duplicate An issue for the problem already existed.

Comments

@LukaszDemczuk
Copy link

In demos folder is project Interfaces.
I'm trying to add hint for header columns.
In the method TEventPresenter.setup:

  • for all columns I added some hint,
  • to header options I added: hoShowHint,
  • I set ShowHint for component fVST,
  • I set ShowHint for FormModelView

It still not working. What should I do more?

@joachimmarder
Copy link
Contributor

I guess the reason is issue #728. Run the Advanced demo project and see the Align demo for a working example. Because of issue #728, a node's hint needs to be displayed first sot that a column hint appears.

@joachimmarder
Copy link
Contributor

joachimmarder commented Mar 28, 2020

I modified the Interfaces demo project so that it shows column hints. However, this will work only if the Virtual TreeView control showed a node hint before. To achieve this, make one column small so that text is cut off, the hover over the text until a tooltip with the full text pops up, then hover over the first or second column.

So this seems to be a duplicate of #728.

@joachimmarder joachimmarder added the Duplicate An issue for the problem already existed. label Mar 28, 2020
@LukaszDemczuk
Copy link
Author

You've set the Text property of the second column twice.
Just click on end of first column (on the line). After it, hints are shown.

@joachimmarder
Copy link
Contributor

You've set the Text property of the second column twice.

Oops, yes, it's corrected now.

Just click on end of first column (on the line). After it, hints are shown.

True, but a normal user won't do that. And it stops working once another hint was shown. To demonstrate this, I added a hint to the left button. Still, this is a duplicate of #728 which is why I am going to close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate An issue for the problem already existed.
Projects
None yet
Development

No branches or pull requests

2 participants