Skip to content
  • Waqar Ahmed's avatar
    Fix LSPTooltip sizing · 08ec1897
    Waqar Ahmed authored
    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.
    
    (cherry picked from commit c758176c)
    08ec1897