Do not crop wide characters in Symbols dialog (bug #5707).

This commit is contained in:
Juergen Spitzmueller 2013-01-10 15:10:10 +01:00
parent 60ec70a6f5
commit 6642547384
2 changed files with 4 additions and 1 deletions

View File

@ -275,11 +275,12 @@ GuiSymbols::GuiSymbols(GuiView & lv)
setFocusProxy(symbolsLW);
symbolsLW->setViewMode(QListView::IconMode);
symbolsLW->setUniformItemSizes(true);
// increase the display size of the symbols a bit
QFont font= symbolsLW->font();
int size = font.pointSize() + 3;
font.setPointSize(size);
QFontMetrics fm(font);
symbolsLW->setGridSize(QSize(fm.maxWidth() + 2, fm.height() + 2));
symbolsLW->setFont(font);
symbolsLW->setModel(model_);
}

View File

@ -116,6 +116,8 @@ What's new
- Show the output of configure.py while the LaTeX packages are being checked
rather than all at once at the end of the check (bug 8477).
- Do not crop wide characters in Symbols dialog (bug 5707).
* DOCUMENTATION AND LOCALIZATION