CTextBox: Remove workaround for minimally text_border_width

- Default value is now 1 in CComponentsText
This commit is contained in:
Michael Liebmann
2013-06-12 00:36:37 +02:00
parent f0de4567ae
commit ba1e514747
2 changed files with 6 additions and 4 deletions

View File

@@ -93,7 +93,12 @@ void CComponentsText::initVarText()
ct_text = "";
ct_old_text = ct_text;
ct_text_mode = CTextBox::AUTO_WIDTH;
/* we need a minimal borderwith of 1px because the edge-smoothing
(or fontrenderer?) otherwise will paint single pixels outside the
defined area. e.g. 'j' is leaving such residues */
ct_text_border = 1;
ct_col_text = COL_MENUCONTENT;
ct_text_sent = false;
ct_paint_textbg = false;