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:
@@ -249,7 +249,7 @@ TReplicantTray::GetPreferredSize(float* preferredWidth, float* preferredHeight)
|
|||||||
|
|
||||||
// this view has a fixed minimum width
|
// this view has a fixed minimum width
|
||||||
width = std::max(kMinimumTrayWidth, width);
|
width = std::max(kMinimumTrayWidth, width);
|
||||||
height = kGutter + static_cast<TBarApp*>(be_app)->IconSize() + kGutter;
|
height = height = fBarView->TeamMenuItemHeight();
|
||||||
}
|
}
|
||||||
|
|
||||||
*preferredWidth = width;
|
*preferredWidth = width;
|
||||||
|
|||||||
Reference in New Issue
Block a user