From 7781d9ad28ffca6da65e9bf646358c2540ffc2f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sat, 29 Oct 2011 16:48:16 +0000 Subject: [PATCH] * Applied patch by 'mt' that fixes ticket #6275 - thanks a lot! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42968 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/terminal/AppearPrefView.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/apps/terminal/AppearPrefView.cpp b/src/apps/terminal/AppearPrefView.cpp index 0df9df1c87..17345a57a2 100644 --- a/src/apps/terminal/AppearPrefView.cpp +++ b/src/apps/terminal/AppearPrefView.cpp @@ -125,8 +125,10 @@ AppearancePrefView::AppearancePrefView(const char* name, BLayoutBuilder::Group<>(this) .SetInsets(5, 5, 5, 5) .AddGrid(5, 5) - .AddTextControl(fTabTitle, 0, 0, B_ALIGN_RIGHT) - .AddTextControl(fWindowTitle, 0, 1, B_ALIGN_RIGHT) + .Add(fTabTitle->CreateLabelLayoutItem(), 0, 0) + .Add(fTabTitle->CreateTextViewLayoutItem(), 1, 0) + .Add(fWindowTitle->CreateLabelLayoutItem(), 0, 1) + .Add(fWindowTitle->CreateTextViewLayoutItem(), 1, 1) .Add(fFont->CreateLabelLayoutItem(), 0, 2) .Add(fFont->CreateMenuBarLayoutItem(), 1, 2) .Add(fFontSize->CreateLabelLayoutItem(), 0, 3) @@ -141,6 +143,8 @@ AppearancePrefView::AppearancePrefView(const char* name, B_CELLS_32x8, 8.0, "", new BMessage(MSG_COLOR_CHANGED))) .Add(fWarnOnExit); + fTabTitle->SetAlignment(B_ALIGN_RIGHT, B_ALIGN_LEFT); + fWindowTitle->SetAlignment(B_ALIGN_RIGHT, B_ALIGN_LEFT); fFont->SetAlignment(B_ALIGN_RIGHT); fFontSize->SetAlignment(B_ALIGN_RIGHT); fColorField->SetAlignment(B_ALIGN_RIGHT);