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:
@@ -40,10 +40,10 @@ BFileControl::BFileControl(BRect rect,const char *name,const char *label,const c
|
|||||||
fText->SetDivider(fText->StringWidth(label) + 6);
|
fText->SetDivider(fText->StringWidth(label) + 6);
|
||||||
AddChild(fText);
|
AddChild(fText);
|
||||||
|
|
||||||
rect.left = rect.right + 6;
|
fButton = new BButton(BRect(0,0,1,1),"select_file",MDR_DIALECT_CHOICE ("Select","選択") B_UTF8_ELLIPSIS,
|
||||||
rect.right += labelWidth;
|
new BMessage(kMsgSelectButton));
|
||||||
rect.OffsetBy(0,-3);
|
fButton->ResizeToPreferred();
|
||||||
fButton = new BButton(rect,"select_file",MDR_DIALECT_CHOICE ("Select","選択") B_UTF8_ELLIPSIS,new BMessage(kMsgSelectButton));
|
fButton->MoveBy(rect.right + 6, (rect.Height() - fButton->Frame().Height()) / 2);
|
||||||
AddChild(fButton);
|
AddChild(fButton);
|
||||||
|
|
||||||
fPanel = new BFilePanel(B_OPEN_PANEL,NULL,NULL,flavors,false);
|
fPanel = new BFilePanel(B_OPEN_PANEL,NULL,NULL,flavors,false);
|
||||||
|
|||||||
Reference in New Issue
Block a user