mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
GuiSymbols: Use a grid with appropriat size
This commit is contained in:
parent
0dd91a1fd7
commit
b57f585109
@ -280,6 +280,8 @@ GuiSymbols::GuiSymbols(GuiView & lv)
|
||||
int size = font.pointSize() + 3;
|
||||
font.setPointSize(size);
|
||||
symbolsLW->setFont(font);
|
||||
QFontMetrics fm(font);
|
||||
symbolsLW->setGridSize(QSize(fm.maxWidth() + 2, fm.height() + 2));
|
||||
symbolsLW->setModel(model_);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user