From 6642547384898727f3a4bdd47cdfa9831b5342f2 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Thu, 10 Jan 2013 15:10:10 +0100 Subject: [PATCH] Do not crop wide characters in Symbols dialog (bug #5707). --- src/frontends/qt4/GuiSymbols.cpp | 3 ++- status.20x | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5