Improve UI. Make placeholder menu scrollable.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-11-30 17:32:36 +02:00
parent d13b6e841d
commit 4e8ceb6c1e
2 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
- [#892] Show tooltip for piece node point.
- [#894] Quick way to disable a passmark.
- [#895] Improve path validation. Do not allow repeat the same curve twice.
- Improve UI. Make placeholder menu scrollable.
# Version 0.6.2 (unreleased)
- [#903] Bug in tool Cut Spline path.

View File

@ -81,6 +81,7 @@ DialogEditLabel::DialogEditLabel(VAbstractPattern *doc, QWidget *parent)
InitPlaceholders();
InitPlaceholdersMenu();
m_placeholdersMenu->setStyleSheet("QMenu { menu-scrollable: 1; }");
ui->pushButtonInsert->setMenu(m_placeholdersMenu);
}