Skip to content

Fix LSPTooltip sizing

Waqar Ahmed requested to merge work/fix-lsp-tooltip-size into master

This was broken since forever but got a lot worse since the wayland fixes. One reason it was broken was because document->height() equaled zero and hence our tooltip had always zero height. An adjustSize() helped make it visible but the resulting size wasn't very good.

This change fixes it more properly by taking into account various margins etc.

Merge request reports