fix display bug

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16464 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2006-02-19 15:32:51 +00:00
parent f0c62dff95
commit 05c881350e

View File

@ -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);