diff --git a/src/tests/servers/app/playground/Jamfile b/src/tests/servers/app/playground/Jamfile index 59d98eafa0..0560020189 100644 --- a/src/tests/servers/app/playground/Jamfile +++ b/src/tests/servers/app/playground/Jamfile @@ -17,7 +17,7 @@ if ( $(TARGET_PLATFORM) = haiku ) { } else { # for running in the Haiku app_server under R5: LinkSharedOSLibs Playground : -# libopenbeos.so ; - be ; + libopenbeos.so ; +# be ; } diff --git a/src/tests/servers/app/playground/ObjectWindow.cpp b/src/tests/servers/app/playground/ObjectWindow.cpp index f2ab0951e8..334cb1ff97 100644 --- a/src/tests/servers/app/playground/ObjectWindow.cpp +++ b/src/tests/servers/app/playground/ObjectWindow.cpp @@ -220,6 +220,8 @@ ObjectWindow::ObjectWindow(BRect frame, const char* name) float maxHeight = minHeight; SetSizeLimits(minWidth, maxWidth, minHeight, maxHeight); + ResizeTo(max_c(frame.Width(), minWidth), max_c(frame.Height(), minHeight)); + _UpdateControls(); } diff --git a/src/tests/servers/app/playground/main.cpp b/src/tests/servers/app/playground/main.cpp index 36bcd68596..4e947ac45a 100644 --- a/src/tests/servers/app/playground/main.cpp +++ b/src/tests/servers/app/playground/main.cpp @@ -10,7 +10,7 @@ main(int argc, char** argv) { BApplication* app = new BApplication("application/x.vnd-Haiku.Objects"); - BRect frame(50.0, 50.0, 450.0, 450.0); + BRect frame(50.0, 50.0, 450.0, 400.0); (new ObjectWindow(frame, "Playground"))->Show(); app->Run();