Deskbar: Set no horizontal window size limit in vertical mode
... so that for scroller arrows will work again. This regression occurred in hrev53890 trying to fix #15067.
This commit is contained in:
parent
82a7c7395c
commit
bc9e33a5fb
@ -667,7 +667,7 @@ TBarWindow::SetSizeLimits()
|
|||||||
} else {
|
} else {
|
||||||
if (fBarView->Vertical()) {
|
if (fBarView->Vertical()) {
|
||||||
BWindow::SetSizeLimits(gMinimumWindowWidth, gMaximumWindowWidth,
|
BWindow::SetSizeLimits(gMinimumWindowWidth, gMaximumWindowWidth,
|
||||||
kMenuBarHeight - 1, screenFrame.Height());
|
kMenuBarHeight - 1, -1);
|
||||||
} else {
|
} else {
|
||||||
BWindow::SetSizeLimits(screenFrame.Width(), screenFrame.Width(),
|
BWindow::SetSizeLimits(screenFrame.Width(), screenFrame.Width(),
|
||||||
kMenuBarHeight - 1, kMaximumIconSize + 4);
|
kMenuBarHeight - 1, kMaximumIconSize + 4);
|
||||||
|
Loading…
Reference in New Issue
Block a user