From bd3d31b0ab3edcefa3cd143debca15f22a0ab3fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 16 Feb 2006 14:02:02 +0000 Subject: [PATCH] Version description was one pixel too low, dunno how I missed that before. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16423 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/preferences/filetypes/ApplicationTypesWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/preferences/filetypes/ApplicationTypesWindow.cpp b/src/preferences/filetypes/ApplicationTypesWindow.cpp index 73aed5a57a..a8155543dc 100644 --- a/src/preferences/filetypes/ApplicationTypesWindow.cpp +++ b/src/preferences/filetypes/ApplicationTypesWindow.cpp @@ -153,9 +153,9 @@ ApplicationTypesWindow::ApplicationTypesWindow(BRect frame) box->AddChild(fDescriptionLabel); innerRect.left = innerRect.right + 3.0f; - innerRect.top += 2.0f; + innerRect.top += 1.0f; innerRect.right = box->Bounds().Width() - 8.0f; - innerRect.bottom += fNameView->Bounds().Height() * 2.0f; + innerRect.bottom += fNameView->Bounds().Height() * 2.0f - 1.0f; fDescriptionView = new BTextView(innerRect, "description", innerRect.OffsetToCopy(B_ORIGIN), B_FOLLOW_LEFT_RIGHT, B_WILL_DRAW | B_FRAME_EVENTS);