From a9b6762f49a6b4575cbe1d9af4a0f222b19b93e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 14 Mar 2006 20:45:14 +0000 Subject: [PATCH] The right box didn't take the border of the list view into account, and as therefore a bit too small. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16796 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/preferences/datatranslations/DataTranslationsWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/preferences/datatranslations/DataTranslationsWindow.cpp b/src/preferences/datatranslations/DataTranslationsWindow.cpp index 9405a02c8e..c897e7b34a 100644 --- a/src/preferences/datatranslations/DataTranslationsWindow.cpp +++ b/src/preferences/datatranslations/DataTranslationsWindow.cpp @@ -204,8 +204,8 @@ DataTranslationsWindow::_SetupViews() mainView->AddChild(scrollView); // Box around the config and info panels - fRightBox = new BBox(BRect(130 + B_V_SCROLL_BAR_WIDTH, 10, Bounds().Width() - 10, - Bounds().Height() - 10), "Right_Side", B_FOLLOW_ALL); + fRightBox = new BBox(BRect(130.0f + B_V_SCROLL_BAR_WIDTH, 8.0f, Bounds().Width() - 8.0f, + Bounds().Height() - 8.0f), "Right_Side", B_FOLLOW_ALL); mainView->AddChild(fRightBox); // Add the translator icon view