Always set a minimum size for the list view.

* Otherwise it doesn't look good when the media server is just
  being launched (so there are no nodes yet).
This commit is contained in:
Axel Dörfler
2012-09-23 15:50:42 +02:00
parent 1c0cacfbc5
commit 0e662af473
+1
View File
@@ -349,6 +349,7 @@ MediaWindow::_InitWindow()
{
fListView = new BListView("media_list_view");
fListView->SetSelectionMessage(new BMessage(ML_SELECTED_NODE));
fListView->SetExplicitMinSize(BSize(140, B_SIZE_UNSET));
// Add ScrollView to Media Menu for pretty border
BScrollView* scrollView = new BScrollView("listscroller",