From d7aa468e4354709b95f38219ebb42aeb8f04a8e7 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Sun, 23 Feb 2020 16:32:29 -0500 Subject: [PATCH] Revert "Deskbar: Set no horizontal window size limit in vertical mode" This reverts commit bc9e33a5fbd64f442d055d03090debf563f9e1b4. This can cause other problems though, will need to provide a better fix. --- src/apps/deskbar/BarWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/deskbar/BarWindow.cpp b/src/apps/deskbar/BarWindow.cpp index 2000341f54..db65d94e13 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, -1); + kMenuBarHeight - 1, screenFrame.Height()); } else { BWindow::SetSizeLimits(screenFrame.Width(), screenFrame.Width(), kMenuBarHeight - 1, kMaximumIconSize + 4);