From 0babd6b9997aceca18b75ac8e4b066308280bc86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Wed, 23 Apr 2008 20:40:23 +0000 Subject: [PATCH] Applied patch by Philippe Saint-Pierre: * Add spacing around the tab view. Thanks, Philippe! BTW, the tab view will come in handy again, now with the additional options that sub-pixel rendering is going to offer... :-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25119 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/preferences/fonts/MainWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/preferences/fonts/MainWindow.cpp b/src/preferences/fonts/MainWindow.cpp index 9d25a9673c..d751eb58b4 100644 --- a/src/preferences/fonts/MainWindow.cpp +++ b/src/preferences/fonts/MainWindow.cpp @@ -55,6 +55,7 @@ MainWindow::MainWindow() rect = Bounds(); rect.top += 5; rect.bottom -= 20 + buttonHeight; + rect.left += 5; BTabView *tabView = new BTabView(rect, "tabview", B_WIDTH_FROM_LABEL); rect = tabView->ContainerView()->Bounds().InsetByCopy(5, 8); @@ -82,7 +83,7 @@ MainWindow::MainWindow() tabView->ContainerView()->ResizeBy(0, heightDiff); } - ResizeTo(tabView->Bounds().Width(), tabView->Frame().bottom + 20 + buttonHeight); + ResizeTo(tabView->Bounds().Width() + 10, tabView->Frame().bottom + 20 + buttonHeight); view->AddChild(tabView); fFontsView->ResizeToPreferred();