ui: Fixes for search bar

* fixed clicking on search element did not focus search bar
* fixed moving cursor between elements
* no smart pointers for search elements to fix deletion issues
This commit is contained in:
Eberhard Graether
2017-11-03 14:44:07 +01:00
parent bc0c674dc2
commit 8baf8cd49b
4 changed files with 25 additions and 16 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ QtSearchBar::QtSearchBar()
layout->addWidget(m_searchBoxContainer);
QBoxLayout* innerLayout = new QHBoxLayout();
innerLayout->setContentsMargins(7, 3, 5, 2);
innerLayout->setContentsMargins(12, 3, 5, 2);
m_searchBoxContainer->setLayout(innerLayout);
m_searchBox = new QtSmartSearchBox(m_searchBoxContainer);