From: Juergen Spitzmueller Date: Thu, 10 Jan 2013 14:10:10 +0000 (+0100) Subject: Do not crop wide characters in Symbols dialog (bug #5707). X-Git-Tag: 2.0.6~158 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6642547384898727f3a4bdd47cdfa9831b5342f2;p=features.git Do not crop wide characters in Symbols dialog (bug #5707). --- diff --git a/src/frontends/qt4/GuiSymbols.cpp b/src/frontends/qt4/GuiSymbols.cpp index 6bd5ba210a..95a4f623aa 100644 --- a/src/frontends/qt4/GuiSymbols.cpp +++ b/src/frontends/qt4/GuiSymbols.cpp @@ -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_); } diff --git a/status.20x b/status.20x index dfca7ab2c3..1815a24550 100644 --- a/status.20x +++ b/status.20x @@ -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