small fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16472 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -446,16 +446,17 @@ RecorderWindow::InitWindow()
|
|||||||
r.InsetBy(10,10);
|
r.InsetBy(10,10);
|
||||||
r.top = r.bottom - 18;
|
r.top = r.bottom - 18;
|
||||||
fInputField = new BMenuField(r, "Input", "Input:", popup);
|
fInputField = new BMenuField(r, "Input", "Input:", popup);
|
||||||
fInputField->SetDivider(50);
|
fInputField->SetDivider(fInputField->StringWidth("Input:") + 4.0f);
|
||||||
fBottomBox->AddChild(fInputField);
|
fBottomBox->AddChild(fInputField);
|
||||||
|
|
||||||
// Text field for entering length to record (in seconds)
|
// Text field for entering length to record (in seconds)
|
||||||
r.OffsetBy(r.Width()+20, 1);
|
r.OffsetBy(0, 1);
|
||||||
r.right -= 70;
|
r.left = r.right + 10;
|
||||||
|
r.right = frame.right - (frame.right - frame.left) / 4;
|
||||||
msg = new BMessage(LENGTH_CHANGED);
|
msg = new BMessage(LENGTH_CHANGED);
|
||||||
fLengthControl = new BTextControl(r, "Length", "Length:", "8", msg);
|
fLengthControl = new BTextControl(r, "Length", "Length:", "8", msg);
|
||||||
fLengthControl->SetDivider(fLengthControl->StringWidth("Length:") + 4.0f);
|
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);
|
fBottomBox->AddChild(fLengthControl);
|
||||||
|
|
||||||
r.left += r.Width()+5;
|
r.left += r.Width()+5;
|
||||||
|
|||||||
Reference in New Issue
Block a user