use the current screen
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16300 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
09362b0d5c
commit
5e99b7dfe4
@ -182,7 +182,7 @@ void
|
||||
RecorderWindow::CalcSizes(float min_wid, float min_hei)
|
||||
{
|
||||
// Set up size limits based on new screen size
|
||||
BScreen screen;
|
||||
BScreen screen(this);
|
||||
BRect r = screen.Frame();
|
||||
float wid = r.Width()-12;
|
||||
SetSizeLimits(min_wid, wid, min_hei, r.Height()-24);
|
||||
|
Loading…
Reference in New Issue
Block a user