DiskProbe: don't set a maximal size for the data view
We want the view to expand and fill the horizontal space as much as possible.
This commit is contained in:
@@ -911,7 +911,8 @@ DataView::UpdateScroller()
|
|||||||
GetPreferredSize(&width, &height);
|
GetPreferredSize(&width, &height);
|
||||||
|
|
||||||
SetExplicitMinSize(BSize(250, 200));
|
SetExplicitMinSize(BSize(250, 200));
|
||||||
SetExplicitMaxSize(BSize(width, height));
|
SetExplicitMaxSize(BSize(B_SIZE_UNSET, height));
|
||||||
|
SetExplicitPreferredSize(BSize(width, height));
|
||||||
|
|
||||||
BScrollBar *bar;
|
BScrollBar *bar;
|
||||||
if ((bar = ScrollBar(B_HORIZONTAL)) != NULL) {
|
if ((bar = ScrollBar(B_HORIZONTAL)) != NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user