Deskbar: Fix an edge case sizing bug
If you have no apps open because Tracker crashed and you opened a new team it would size the expando menu bar incorrectly in vertical mode. This fixes the problem.
This commit is contained in:
@@ -616,7 +616,7 @@ TExpandoMenuBar::AddTeam(BList* team, BBitmap* icon, char* name,
|
||||
|
||||
float itemWidth = -1.0f;
|
||||
if (fVertical)
|
||||
itemWidth = Frame().Width();
|
||||
itemWidth = fBarView->Bounds().Width();
|
||||
else {
|
||||
itemWidth = iconSize;
|
||||
if (!settings->hideLabels)
|
||||
|
||||
Reference in New Issue
Block a user