mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-21 21:06:23 +00:00
GuiDelimiters: display at least (and at most?) 4 columns
This commit is contained in:
parent
ef8b8ebcfd
commit
6aceb3558a
@ -188,6 +188,9 @@ GuiDelimiter::GuiDelimiter(GuiView & lv)
|
||||
QFontMetrics fm(frontend::getFont(lyxfont));
|
||||
QSize item_size(fm.maxWidth(), fm.height() + 8);
|
||||
|
||||
leftLW->setMinimumWidth(5 * item_size.width());
|
||||
rightLW->setMinimumWidth(5 * item_size.width());
|
||||
|
||||
typedef map<char_type, QListWidgetItem *> ListItems;
|
||||
ListItems list_items;
|
||||
// The last element is the empty one.
|
||||
|
Loading…
Reference in New Issue
Block a user