aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Deckner <alexandre.deckner@uzzl.com>2012-07-03 21:31:18 +0200
committerAlexandre Deckner <alexandre.deckner@uzzl.com>2012-07-03 21:31:18 +0200
commit7f21f81f4f3f268e34011a6f3a9f94022da93f65 (patch)
tree5d3a38d157801a5656ef3d5de73466d8b6f28297
parent2ee4319d112fb910c9c90b7b0baec5e3828f0da0 (diff)
Apply old patch by AnevilYak, fix BMenuField border drawinghrev44288
-rw-r--r--src/apps/webpositive/SettingsWindow.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/apps/webpositive/SettingsWindow.cpp b/src/apps/webpositive/SettingsWindow.cpp
index 5a5ee41873..66639f24b0 100644
--- a/src/apps/webpositive/SettingsWindow.cpp
+++ b/src/apps/webpositive/SettingsWindow.cpp
@@ -396,13 +396,13 @@ SettingsWindow::_CreateFontsPage(float spacing)
fStandardSizesMenu = new BMenuField("standard font size",
B_TRANSLATE("Default standard font size:"), new BPopUpMenu("sizes"),
- NULL);
+ B_WILL_DRAW);
_BuildSizesMenu(fStandardSizesMenu->Menu(),
MSG_STANDARD_FONT_SIZE_SELECTED);
fFixedSizesMenu = new BMenuField("fixed font size",
B_TRANSLATE("Default fixed font size:"), new BPopUpMenu("sizes"),
- NULL);
+ B_WILL_DRAW);
_BuildSizesMenu(fFixedSizesMenu->Menu(), MSG_FIXED_FONT_SIZE_SELECTED);
BView* view = BGridLayoutBuilder(spacing / 2, spacing / 2)
@@ -435,6 +435,7 @@ SettingsWindow::_CreateFontsPage(float spacing)
.View()
;
+
view->SetName(B_TRANSLATE("Fonts"));
return view;
}
@@ -469,7 +470,7 @@ SettingsWindow::_CreateProxyPage(float spacing)
.Add(BGridLayoutBuilder(spacing / 2, spacing / 2)
.Add(fProxyAddressControl->CreateLabelLayoutItem(), 0, 0)
.Add(fProxyAddressControl->CreateTextViewLayoutItem(), 1, 0)
-
+
.Add(fProxyPortControl->CreateLabelLayoutItem(), 0, 1)
.Add(fProxyPortControl->CreateTextViewLayoutItem(), 1, 1)
)