Apply old patch by AnevilYak, fix BMenuField border drawing
This commit is contained in:
@@ -396,13 +396,13 @@ SettingsWindow::_CreateFontsPage(float spacing)
|
|||||||
|
|
||||||
fStandardSizesMenu = new BMenuField("standard font size",
|
fStandardSizesMenu = new BMenuField("standard font size",
|
||||||
B_TRANSLATE("Default standard font size:"), new BPopUpMenu("sizes"),
|
B_TRANSLATE("Default standard font size:"), new BPopUpMenu("sizes"),
|
||||||
NULL);
|
B_WILL_DRAW);
|
||||||
_BuildSizesMenu(fStandardSizesMenu->Menu(),
|
_BuildSizesMenu(fStandardSizesMenu->Menu(),
|
||||||
MSG_STANDARD_FONT_SIZE_SELECTED);
|
MSG_STANDARD_FONT_SIZE_SELECTED);
|
||||||
|
|
||||||
fFixedSizesMenu = new BMenuField("fixed font size",
|
fFixedSizesMenu = new BMenuField("fixed font size",
|
||||||
B_TRANSLATE("Default fixed font size:"), new BPopUpMenu("sizes"),
|
B_TRANSLATE("Default fixed font size:"), new BPopUpMenu("sizes"),
|
||||||
NULL);
|
B_WILL_DRAW);
|
||||||
_BuildSizesMenu(fFixedSizesMenu->Menu(), MSG_FIXED_FONT_SIZE_SELECTED);
|
_BuildSizesMenu(fFixedSizesMenu->Menu(), MSG_FIXED_FONT_SIZE_SELECTED);
|
||||||
|
|
||||||
BView* view = BGridLayoutBuilder(spacing / 2, spacing / 2)
|
BView* view = BGridLayoutBuilder(spacing / 2, spacing / 2)
|
||||||
@@ -435,6 +435,7 @@ SettingsWindow::_CreateFontsPage(float spacing)
|
|||||||
|
|
||||||
.View()
|
.View()
|
||||||
;
|
;
|
||||||
|
|
||||||
view->SetName(B_TRANSLATE("Fonts"));
|
view->SetName(B_TRANSLATE("Fonts"));
|
||||||
return view;
|
return view;
|
||||||
}
|
}
|
||||||
@@ -469,7 +470,7 @@ SettingsWindow::_CreateProxyPage(float spacing)
|
|||||||
.Add(BGridLayoutBuilder(spacing / 2, spacing / 2)
|
.Add(BGridLayoutBuilder(spacing / 2, spacing / 2)
|
||||||
.Add(fProxyAddressControl->CreateLabelLayoutItem(), 0, 0)
|
.Add(fProxyAddressControl->CreateLabelLayoutItem(), 0, 0)
|
||||||
.Add(fProxyAddressControl->CreateTextViewLayoutItem(), 1, 0)
|
.Add(fProxyAddressControl->CreateTextViewLayoutItem(), 1, 0)
|
||||||
|
|
||||||
.Add(fProxyPortControl->CreateLabelLayoutItem(), 0, 1)
|
.Add(fProxyPortControl->CreateLabelLayoutItem(), 0, 1)
|
||||||
.Add(fProxyPortControl->CreateTextViewLayoutItem(), 1, 1)
|
.Add(fProxyPortControl->CreateTextViewLayoutItem(), 1, 1)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user