Deskbar: Set replicant tray height to team menu item height

... in horizontal mode.

Tray was wrong size for big font and mini icon.
This commit is contained in:
John Scipione
2020-02-19 13:23:31 -05:00
parent 0d3250fdb5
commit 7211f720c8
+1 -1
View File
@@ -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<TBarApp*>(be_app)->IconSize() + kGutter;
height = height = fBarView->TeamMenuItemHeight();
}
*preferredWidth = width;