diff --git src/preferences/media/MediaWindow.cpp src/preferences/media/MediaWindow.cpp
index 9d599b8..889e122 100644
|
|
MediaWindow::InitWindow()
|
405 | 405 | BLayoutBuilder::Group<>(this, B_HORIZONTAL) |
406 | 406 | .SetInsets(B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING, |
407 | 407 | B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING) |
408 | | .Add(scrollView) |
| 408 | .Add(scrollView, 0.0f) |
409 | 409 | .AddGroup(B_VERTICAL) |
410 | 410 | .SetInsets(0, 0, 0, 0) |
411 | 411 | .Add(fTitleView) |
… |
… |
MediaWindow::InitWindow()
|
413 | 413 | |
414 | 414 | // Start the window |
415 | 415 | fInitCheck = InitMedia(true); |
416 | | if (fInitCheck != B_OK) { |
| 416 | if (fInitCheck != B_OK) |
417 | 417 | PostMessage(B_QUIT_REQUESTED); |
418 | | } else if (IsHidden()) { |
| 418 | else if (IsHidden()) |
419 | 419 | Show(); |
| 420 | |
| 421 | if (LockLooper()) { |
| 422 | float padding = scrollView->Bounds().Width() + 16; |
| 423 | scrollView->SetExplicitMinSize(BSize(padding, B_SIZE_UNSET)); |
| 424 | UnlockLooper(); |
420 | 425 | } |
421 | 426 | } |
422 | 427 | |