small fixes

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16472 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2006-02-19 19:31:39 +00:00
parent 10493d109c
commit 80cfc30c48

View File

@ -446,16 +446,17 @@ RecorderWindow::InitWindow()
r.InsetBy(10,10);
r.top = r.bottom - 18;
fInputField = new BMenuField(r, "Input", "Input:", popup);
fInputField->SetDivider(50);
fInputField->SetDivider(fInputField->StringWidth("Input:") + 4.0f);
fBottomBox->AddChild(fInputField);
// Text field for entering length to record (in seconds)
r.OffsetBy(r.Width()+20, 1);
r.right -= 70;
r.OffsetBy(0, 1);
r.left = r.right + 10;
r.right = frame.right - (frame.right - frame.left) / 4;
msg = new BMessage(LENGTH_CHANGED);
fLengthControl = new BTextControl(r, "Length", "Length:", "8", msg);
fLengthControl->SetDivider(fLengthControl->StringWidth("Length:") + 4.0f);
fLengthControl->SetAlignment(B_ALIGN_CENTER, B_ALIGN_RIGHT);
fLengthControl->SetAlignment(B_ALIGN_RIGHT, B_ALIGN_RIGHT);
fBottomBox->AddChild(fLengthControl);
r.left += r.Width()+5;