Tracker: fix count view border problem
Fixes #16439. Change-Id: If936517a0ecfaba994f5d48fcc2fd159cb8ea11f Reviewed-on: https://review.haiku-os.org/c/haiku/+/3093 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
@@ -1070,8 +1070,13 @@ BContainerWindow::InitLayout()
|
|||||||
forFilePanel ? 0 : -1);
|
forFilePanel ? 0 : -1);
|
||||||
fCountContainer->GroupLayout()->AddView(hScrollBarContainer);
|
fCountContainer->GroupLayout()->AddView(hScrollBarContainer);
|
||||||
|
|
||||||
fPoseView->CountView()->SetExplicitMinSize(
|
BSize size = fPoseView->HScrollBar()->MinSize();
|
||||||
fPoseView->HScrollBar()->MinSize());
|
if (forFilePanel) {
|
||||||
|
// Count view height is 1px smaller than scroll bar because it has
|
||||||
|
// no upper border.
|
||||||
|
size.height -= 1;
|
||||||
|
}
|
||||||
|
fPoseView->CountView()->SetExplicitMinSize(size);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user