fix display bug
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16464 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -40,7 +40,7 @@ ExpanderPreferences::ExpanderPreferences(BMessage *settings)
|
|||||||
|
|
||||||
BRect frameRect = box->Bounds();
|
BRect frameRect = box->Bounds();
|
||||||
frameRect.OffsetBy(15,23);
|
frameRect.OffsetBy(15,23);
|
||||||
frameRect.right = frameRect.left + 100;
|
frameRect.right = frameRect.left + 200;
|
||||||
frameRect.bottom = frameRect.top + 20;
|
frameRect.bottom = frameRect.top + 20;
|
||||||
BRect textRect(frameRect);
|
BRect textRect(frameRect);
|
||||||
textRect.OffsetTo(B_ORIGIN);
|
textRect.OffsetTo(B_ORIGIN);
|
||||||
@@ -88,7 +88,7 @@ ExpanderPreferences::ExpanderPreferences(BMessage *settings)
|
|||||||
box->AddChild(fDestUse);
|
box->AddChild(fDestUse);
|
||||||
|
|
||||||
textRect = rect;
|
textRect = rect;
|
||||||
textRect.OffsetBy(45, 0);
|
textRect.OffsetBy(fDestUse->StringWidth("Use:") + 20, 0);
|
||||||
textRect.right = textRect.left + 158;
|
textRect.right = textRect.left + 158;
|
||||||
fDestText = new BTextControl(textRect, "destText", "", "", new BMessage(MSG_DESTTEXT));
|
fDestText = new BTextControl(textRect, "destText", "", "", new BMessage(MSG_DESTTEXT));
|
||||||
fDestText->SetDivider(0);
|
fDestText->SetDivider(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user