From c2a13372aa00b3d9739c8d01c735f9f0c1a77e0c Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Thu, 20 Nov 2014 14:12:10 +0100 Subject: [PATCH] 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. --- src/apps/diskprobe/DataView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps/diskprobe/DataView.cpp b/src/apps/diskprobe/DataView.cpp index 1bcf56ab77..3d6d5d47f5 100644 --- a/src/apps/diskprobe/DataView.cpp +++ b/src/apps/diskprobe/DataView.cpp @@ -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) {