From 7211f720c86e5ae49a2a3f43251cb0d41fe37264 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Wed, 19 Feb 2020 13:23:28 -0500 Subject: [PATCH] Deskbar: Set replicant tray height to team menu item height ... in horizontal mode. Tray was wrong size for big font and mini icon. --- src/apps/deskbar/StatusView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/deskbar/StatusView.cpp b/src/apps/deskbar/StatusView.cpp index 871f87ceda..df339e5b84 100644 --- a/src/apps/deskbar/StatusView.cpp +++ b/src/apps/deskbar/StatusView.cpp @@ -249,7 +249,7 @@ TReplicantTray::GetPreferredSize(float* preferredWidth, float* preferredHeight) // this view has a fixed minimum width width = std::max(kMinimumTrayWidth, width); - height = kGutter + static_cast(be_app)->IconSize() + kGutter; + height = height = fBarView->TeamMenuItemHeight(); } *preferredWidth = width;