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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user