diff options
-rw-r--r-- | Userland/Libraries/LibGUI/Tray.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/Tray.cpp b/Userland/Libraries/LibGUI/Tray.cpp index 6ea44cf2cd..dccfc5d223 100644 --- a/Userland/Libraries/LibGUI/Tray.cpp +++ b/Userland/Libraries/LibGUI/Tray.cpp @@ -24,7 +24,7 @@ Tray::Tray() Gfx::IntRect Tray::Item::rect(Tray const& tray) const { - static constexpr int item_height = 22; + int item_height = static_cast<int>(ceilf(tray.font().pixel_size())) + 12; return Gfx::IntRect { tray.frame_thickness(), tray.frame_thickness() + static_cast<int>(index) * item_height, |