Skip to content

GetHint calculates wrong width for HintText #623

@IgitBuh

Description

@IgitBuh

Using the OnGetHint event with a custom HintText (in the following example: 'abcdefghijklmnopqrstuvwxyz') causes the hint/tooltip to be calculated wrongly.
If HintMode is set to hmTooltip the width is calculated based on the actual CellText.
If HintMode is set to hmHint the width is calculated almost correct, but with some strange space on the right.
I didn't notice those problems with an older 5.2 version I previously used.

vtv-hint

VTV 6.2.3
Delphi XE
Windows 7

Metadata

Metadata

Assignees

Labels

BugPull Requests InvitedThere are no current plans to address the issue, but we would be happy if someone supplies a PR.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions