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:
Adrien Destugues
2014-11-20 14:12:10 +01:00
parent 23b89f011f
commit c2a13372aa
+2 -1
View File
@@ -911,7 +911,8 @@ DataView::UpdateScroller()
GetPreferredSize(&width, &height);
SetExplicitMinSize(BSize(250, 200));
SetExplicitMaxSize(BSize(width, height));
SetExplicitMaxSize(BSize(B_SIZE_UNSET, height));
SetExplicitPreferredSize(BSize(width, height));
BScrollBar *bar;
if ((bar = ScrollBar(B_HORIZONTAL)) != NULL) {