File Panel: make room for icon in directory menu field
This commit is contained in:
parent
0a04b14f8c
commit
f6d98e7b75
@ -675,6 +675,8 @@ TFilePanel::Init(const BMessage*)
|
||||
fDirMenuField = new BMenuField(rect, "DirMenuField", "", fDirMenu);
|
||||
fDirMenuField->MenuBar()->SetFont(be_plain_font);
|
||||
fDirMenuField->SetDivider(0);
|
||||
fDirMenuField->MenuBar()->SetMaxContentWidth(rect.Width() - 26.0f);
|
||||
// Make room for the icon
|
||||
|
||||
fDirMenuField->MenuBar()->RemoveItem((int32)0);
|
||||
fDirMenu->SetMenuBar(fDirMenuField->MenuBar());
|
||||
|
Loading…
Reference in New Issue
Block a user