Apply old patch by AnevilYak, fix BMenuField border drawing
Should have been part of the previous commit, sorry
This commit is contained in:
parent
7f21f81f4f
commit
08cada49a6
@ -59,14 +59,14 @@ FontSelectionView::FontSelectionView(const char* name, const char* label,
|
||||
fFontsMenu = new BPopUpMenu("font menu");
|
||||
|
||||
// font menu
|
||||
fFontsMenuField = new BMenuField("fonts", label, fFontsMenu, NULL);
|
||||
fFontsMenuField = new BMenuField("fonts", label, fFontsMenu, B_WILL_DRAW);
|
||||
fFontsMenuField->SetFont(be_bold_font);
|
||||
|
||||
// styles menu, if desired
|
||||
if (separateStyles) {
|
||||
fStylesMenu = new BPopUpMenu("styles menu");
|
||||
fStylesMenuField = new BMenuField("styles", B_TRANSLATE("Style:"),
|
||||
fStylesMenu, NULL);
|
||||
fStylesMenu, B_WILL_DRAW);
|
||||
} else {
|
||||
fStylesMenu = NULL;
|
||||
fStylesMenuField = NULL;
|
||||
@ -74,7 +74,7 @@ FontSelectionView::FontSelectionView(const char* name, const char* label,
|
||||
|
||||
// size menu
|
||||
fSizesMenuField = new BMenuField("size", B_TRANSLATE("Size:"), fSizesMenu,
|
||||
NULL);
|
||||
B_WILL_DRAW);
|
||||
fSizesMenuField->SetAlignment(B_ALIGN_RIGHT);
|
||||
|
||||
// preview
|
||||
|
Loading…
Reference in New Issue
Block a user