AppearPrefView was mixing up flags and resizing mode. Fixed.
Also set the flag B_PULSE_NEEDED (for the blinking cursor) in TermView. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23911 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -43,20 +43,20 @@ AppearancePrefView::AppearancePrefView(BRect frame, const char *name,
|
||||
|
||||
BMenu *menu = _MakeFontMenu(MSG_HALF_FONT_CHANGED,
|
||||
PrefHandler::Default()->getString(PREF_HALF_FONT_FAMILY));
|
||||
fFont = new BMenuField(r, "font", "Font:", menu, B_WILL_DRAW);
|
||||
fFont = new BMenuField(r, "font", "Font:", menu);
|
||||
fFont->SetDivider(fontDividerSize);
|
||||
AddChild(fFont);
|
||||
|
||||
r.OffsetBy(r.Width() + 10, 0);
|
||||
menu = _MakeSizeMenu(MSG_HALF_SIZE_CHANGED,
|
||||
PrefHandler::Default()->getInt32(PREF_HALF_FONT_SIZE));
|
||||
fFontSize = new BMenuField(r, "size", "Size:", menu, B_WILL_DRAW);
|
||||
fFontSize = new BMenuField(r, "size", "Size:", menu);
|
||||
fFontSize->SetDivider(sizeDividerSize);
|
||||
AddChild(fFontSize);
|
||||
|
||||
r.OffsetBy(-r.Width() - 10,r.Height() + 25);
|
||||
fColorField = new BMenuField(r, "color", "Change:",
|
||||
MakeMenu(MSG_COLOR_FIELD_CHANGED, color_tbl, color_tbl[0]), B_WILL_DRAW);
|
||||
MakeMenu(MSG_COLOR_FIELD_CHANGED, color_tbl, color_tbl[0]));
|
||||
fColorField->SetDivider(StringWidth(fColorField->Label()) + 8.0);
|
||||
AddChild(fColorField);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user