[haiku-commits] haiku: hrev53910 - src/apps/deskbar

  • From: John Scipione <jscipione@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 23 Feb 2020 17:22:40 -0500 (EST)

hrev53910 adds 1 changeset to branch 'master'
old head: d7aa468e4354709b95f38219ebb42aeb8f04a8e7
new head: 6f114b94f27c4802ca73bc1daa04e1e542c0b6b8
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=6f114b94f27c+%5Ed7aa468e4354

----------------------------------------------------------------------------

6f114b94f27c: Deskbar: Set no horizontal window size limit in vertical mode
  
  ... better so that for scroller arrows will work again.
  This regression occurred in hrev53890 trying to fix #15067.
  
  Use B_SIZE_UNLIMITED not -1 for no window size limit.

                                     [ John Scipione <jscipione@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev53910
Commit:      6f114b94f27c4802ca73bc1daa04e1e542c0b6b8
URL:         https://git.haiku-os.org/haiku/commit/?id=6f114b94f27c
Author:      John Scipione <jscipione@xxxxxxxxx>
Date:        Sun Feb 23 22:10:23 2020 UTC

Ticket:      https://dev.haiku-os.org/ticket/15067

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 1 deletion(-)
src/apps/deskbar/BarWindow.cpp | 2 +-

----------------------------------------------------------------------------

diff --git a/src/apps/deskbar/BarWindow.cpp b/src/apps/deskbar/BarWindow.cpp
index db65d94e13..6125efbe5a 100644
--- a/src/apps/deskbar/BarWindow.cpp
+++ b/src/apps/deskbar/BarWindow.cpp
@@ -667,7 +667,7 @@ TBarWindow::SetSizeLimits()
        } else {
                if (fBarView->Vertical()) {
                        BWindow::SetSizeLimits(gMinimumWindowWidth, 
gMaximumWindowWidth,
-                               kMenuBarHeight - 1, screenFrame.Height());
+                               kMenuBarHeight - 1, B_SIZE_UNLIMITED);
                } else {
                        BWindow::SetSizeLimits(screenFrame.Width(), 
screenFrame.Width(),
                                kMenuBarHeight - 1, kMaximumIconSize + 4);


Other related posts:

  • » [haiku-commits] haiku: hrev53910 - src/apps/deskbar - John Scipione