Fixed small layout issue with the sniffer rules control.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17089 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-04-11 18:36:55 +00:00
parent db4bb28934
commit 541143a08b

View File

@ -396,7 +396,7 @@ FileTypesWindow::FileTypesWindow(BRect frame)
fRuleControl = new BTextControl(innerRect, "rule", "Rule:", "",
new BMessage(kMsgRuleEntered), B_FOLLOW_LEFT_RIGHT);
//fRuleControl->SetAlignment(B_ALIGN_RIGHT, B_ALIGN_LEFT);
fRuleControl->SetDivider(fRuleControl->StringWidth(fRuleControl->Label()) + 2.0f);
fRuleControl->SetDivider(fRuleControl->StringWidth(fRuleControl->Label()) + 6.0f);
fRuleControl->Hide();
fRecognitionBox->AddChild(fRuleControl);