Make the Screen preference app windows non-resizable and make the top line of the screen BBox flush with the top line of the control BBox. Fixes #7526

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43176 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
John Scipione
2011-11-04 07:38:53 +00:00
parent 504f70a6e1
commit 958e0ca51d
+3 -3
View File
@@ -166,8 +166,8 @@ screen_errors(status_t status)
ScreenWindow::ScreenWindow(ScreenSettings* settings)
:
BWindow(settings->WindowFrame(), B_TRANSLATE_SYSTEM_NAME("Screen"),
B_TITLED_WINDOW, B_NOT_ZOOMABLE | B_AUTO_UPDATE_SIZE_LIMITS,
B_ALL_WORKSPACES),
B_TITLED_WINDOW, B_NOT_RESIZABLE | B_NOT_ZOOMABLE
| B_AUTO_UPDATE_SIZE_LIMITS, B_ALL_WORKSPACES),
fIsVesa(false),
fBootWorkspaceApplied(false),
fScreenMode(this),
@@ -482,7 +482,7 @@ ScreenWindow::ScreenWindow(ScreenSettings* settings)
.SetInsets(10, 10, 10, 10)
.AddGroup(B_HORIZONTAL, 10.0)
.AddGroup(B_VERTICAL)
.AddStrut(controlsBox->TopBorderOffset() - 1)
.AddStrut(floor(controlsBox->TopBorderOffset() / 16) - 1)
.Add(screenBox)
.End()
.Add(controlsBox)