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.
This commit is contained in:
parent
d7aa468e43
commit
6f114b94f2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user