diff --git a/src/preferences/network/NetworkWindow.cpp b/src/preferences/network/NetworkWindow.cpp index b9b42fec31..a721538ba4 100644 --- a/src/preferences/network/NetworkWindow.cpp +++ b/src/preferences/network/NetworkWindow.cpp @@ -126,7 +126,7 @@ NetworkWindow::NetworkWindow() BScrollView* scrollView = new BScrollView("ScrollView", fListView, 0, false, true); - scrollView->SetExplicitMinSize(BSize(B_SIZE_UNSET, 42)); + scrollView->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, B_SIZE_UNSET)); fAddOnShellView = new BView("add-on shell", 0, new BGroupLayout(B_VERTICAL)); diff --git a/src/preferences/network/ServiceView.cpp b/src/preferences/network/ServiceView.cpp index a0dd9b09a3..efa045352a 100644 --- a/src/preferences/network/ServiceView.cpp +++ b/src/preferences/network/ServiceView.cpp @@ -50,6 +50,7 @@ ServiceView::ServiceView(const char* name, const char* executable, BLayoutBuilder::Group<>(this, B_VERTICAL) .Add(titleView) .Add(descriptionView) + .AddGlue() .AddGroup(B_HORIZONTAL) .AddGlue() .Add(fEnableButton);