[prev in list] [next in list] [prev in thread] [next in thread]
List: haiku-commits
Subject: [haiku-commits] haiku: hrev48835 - src/apps/deskbar
From: jscipione () gmail ! com
Date: 2015-02-27 1:15:26
Message-ID: 20150227011527.2953F5C23FD () vmrepo ! haiku-os ! org
[Download RAW message or body]
hrev48835 adds 1 changeset to branch 'master'
old head: e3468ef6007f1737c671a024422d53d72e7c3844
new head: dd251369362ef4c63e8acba1ceb9b50a28499858
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=dd251369362e+%5Ee3468ef6007f
----------------------------------------------------------------------------
dd251369362e: 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.
[ John Scipione <jscipione@gmail.com> ]
----------------------------------------------------------------------------
Revision: hrev48835
Commit: dd251369362ef4c63e8acba1ceb9b50a28499858
URL: http://cgit.haiku-os.org/haiku/commit/?id=dd251369362e
Author: John Scipione <jscipione@gmail.com>
Date: Fri Feb 27 01:12:12 2015 UTC
----------------------------------------------------------------------------
1 file changed, 1 insertion(+), 1 deletion(-)
src/apps/deskbar/ExpandoMenuBar.cpp | 2 +-
----------------------------------------------------------------------------
diff --git a/src/apps/deskbar/ExpandoMenuBar.cpp b/src/apps/deskbar/ExpandoMenuBar.cpp
index ff0a4ac..3ad526c 100644
--- a/src/apps/deskbar/ExpandoMenuBar.cpp
+++ b/src/apps/deskbar/ExpandoMenuBar.cpp
@@ -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)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic