Project

General

Profile

Bug #9328

Strange XHTML ToolTip positioning

Added by Markus S 14 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11/15/2021
Due date:
% Done:

0%

Estimated time:

Description

The vertical positioning of XHTML tooltips seems strange to me.

If there is not enough space to position its top to the cursor it positions its bottom to it, even if there is less space up.
(This does not happen in all situations, sometimes it trys to use all available height.)
In this situation the tooltip should use all available height and give up on positioning its top or bottom to the cursor.
If there is not enough space even if all the height is used it should enable vertical scrollbars.

See the attached gif of the example app.


Files

Wt_ToolTips.gif (926 KB) Wt_ToolTips.gif Markus S, 11/15/2021 01:57 PM
Example.cpp (1.45 KB) Example.cpp Markus S, 11/15/2021 02:02 PM

No data to display

Also available in: Atom PDF