Made the gap between the buttons and the text controls as large as the one

between the window border and its contents to make it look a bit better.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16972 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-04-02 18:42:07 +00:00
parent 0e6b056fdc
commit 5fef96ef20

View File

@ -106,7 +106,7 @@ ExpanderWindow::ExpanderWindow(BRect frame, const entry_ref *ref, BMessage *sett
// TextControls
rect = fSourceButton->Frame();
rect.left = rect.right + 5;
rect.left = rect.right + 8;
rect.right = frame.Width() - 8;
fSourceText = new BTextControl(rect, "sourceText", "", NULL,
new BMessage(MSG_SOURCETEXT), B_FOLLOW_LEFT_RIGHT | B_FOLLOW_TOP);
@ -134,7 +134,7 @@ ExpanderWindow::ExpanderWindow(BRect frame, const entry_ref *ref, BMessage *sett
topView->AddChild(fShowContents);
fShowContents->SetEnabled(false);
rect.left = fExpandButton->Frame().right + 5;
rect.left = fExpandButton->Frame().right + 8;
rect.right = fShowContents->Frame().left - 4;
fStatusView = new BStringView(rect, "statusView", "",
B_FOLLOW_LEFT | B_FOLLOW_TOP, B_WILL_DRAW | B_FRAME_EVENTS);