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