More font sensitivity tweaks

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19504 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm
2006-12-13 23:25:36 +00:00
parent 183a6c2121
commit 48a8aa4985
+4 -4
View File
@@ -40,10 +40,10 @@ BFileControl::BFileControl(BRect rect,const char *name,const char *label,const c
fText->SetDivider(fText->StringWidth(label) + 6);
AddChild(fText);
rect.left = rect.right + 6;
rect.right += labelWidth;
rect.OffsetBy(0,-3);
fButton = new BButton(rect,"select_file",MDR_DIALECT_CHOICE ("Select","選択") B_UTF8_ELLIPSIS,new BMessage(kMsgSelectButton));
fButton = new BButton(BRect(0,0,1,1),"select_file",MDR_DIALECT_CHOICE ("Select","選択") B_UTF8_ELLIPSIS,
new BMessage(kMsgSelectButton));
fButton->ResizeToPreferred();
fButton->MoveBy(rect.right + 6, (rect.Height() - fButton->Frame().Height()) / 2);
AddChild(fButton);
fPanel = new BFilePanel(B_OPEN_PANEL,NULL,NULL,flavors,false);