From 05c881350ef47bf34ac8be0025547146457c754a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sun, 19 Feb 2006 15:32:51 +0000 Subject: [PATCH] fix display bug git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16464 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/expander/ExpanderPreferences.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/expander/ExpanderPreferences.cpp b/src/apps/expander/ExpanderPreferences.cpp index 9a7fc1b4c2..c5405bd681 100644 --- a/src/apps/expander/ExpanderPreferences.cpp +++ b/src/apps/expander/ExpanderPreferences.cpp @@ -40,7 +40,7 @@ ExpanderPreferences::ExpanderPreferences(BMessage *settings) BRect frameRect = box->Bounds(); frameRect.OffsetBy(15,23); - frameRect.right = frameRect.left + 100; + frameRect.right = frameRect.left + 200; frameRect.bottom = frameRect.top + 20; BRect textRect(frameRect); textRect.OffsetTo(B_ORIGIN); @@ -88,7 +88,7 @@ ExpanderPreferences::ExpanderPreferences(BMessage *settings) box->AddChild(fDestUse); textRect = rect; - textRect.OffsetBy(45, 0); + textRect.OffsetBy(fDestUse->StringWidth("Use:") + 20, 0); textRect.right = textRect.left + 158; fDestText = new BTextControl(textRect, "destText", "", "", new BMessage(MSG_DESTTEXT)); fDestText->SetDivider(0);