diff options
| author | Nick Dedekind <nick.dedekind@canonical.com> | 2017-04-18 17:29:29 +0100 | 
|---|---|---|
| committer | Nick Dedekind <nick.dedekind@canonical.com> | 2017-04-18 17:29:29 +0100 | 
| commit | dc15a3ee89f20cf47fd771c0adfbc468294309d6 (patch) | |
| tree | 6e2767daee60c776b4f90a8fd9c7bbe93e93dc01 | |
| parent | 0091bdbf1c71fa0319155e342aae8709103fc7c4 (diff) | |
DPI scaling fix for tooltip height
Fixes LP: #1673950 (bzr r4228.2.2)
| -rw-r--r-- | launcher/Tooltip.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/launcher/Tooltip.cpp b/launcher/Tooltip.cpp index ac1406268..35e88a336 100644 --- a/launcher/Tooltip.cpp +++ b/launcher/Tooltip.cpp @@ -222,7 +222,7 @@ void Tooltip::PreLayoutManagement()  if (Settings::Instance().launcher_position() == LauncherPosition::LEFT)  _bottom_space->SetMinMaxSize(1, space_height + 1);  else - _bottom_space->SetMinMaxSize(1, space_height + ROTATED_ANCHOR_HEIGHT + 1); + _bottom_space->SetMinMaxSize(1, space_height + ROTATED_ANCHOR_HEIGHT.CP(cv_) + 1);  CairoBaseWindow::PreLayoutManagement();  } | 
