mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
* set the column with in the popup before showing it. Then it even works.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23261 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
249e6b7ac0
commit
d0de0f53ef
@ -378,9 +378,10 @@ void GuiCompleter::updatePopup(Cursor & cur)
|
||||
rect = QRect(x, y - dim.ascent() - 3, 200, dim.height() + 6);
|
||||
|
||||
// show/update popup
|
||||
complete(rect);
|
||||
QTreeView * p = static_cast<QTreeView *>(popup());
|
||||
p->setColumnWidth(0, popup()->width() - 22 - p->verticalScrollBar()->width());
|
||||
|
||||
complete(rect);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user