Hint shows outside of TListBox rect
Original Reporter info from Mantis: ddev
-
Reporter name: ddev
Original Reporter info from Mantis: ddev
- Reporter name: ddev
Description:
I have a TListBox with some lines that are not visible and curiously when I use a hint, the hint is visible OUTSIDE the rect (see attached pic). In fact the hint appears up to the last non visible line (if I have two non visibles lines, the hint will not show when I move the cursor downward at a distance higher than the two non visible lines).
The problem does not exist on Windows 10.
Bug confirmed by Trev (Lazarus LCL forum) on Lazarus 2.1.0 r64368 FPC 3.3.1 x86_64-darwin-cocoa
See the thread on Lazarus forums: https://forum.lazarus.freepascal.org/index.php/topic,52872.0.html
Steps to reproduce:
- Create a new application with Lazarus for the Mac
- Add a TListBox on the main form
- Fill it with more lines than will be visible and activate a hint for the TListBox control
- Run the application and hover with the mouse just under the TListBox, in the zone where the non visible lines should be, and the hint will show OUTSIDE of the drawing rect