From a559bbe2c5d5c18bd14a33504f1712fda006ccda Mon Sep 17 00:00:00 2001 From: Victor Zarubkin Date: Thu, 23 Nov 2017 22:15:12 +0300 Subject: [PATCH] #0 [GUI] Styling --- profiler_gui/blocks_tree_widget.cpp | 4 ++-- profiler_gui/descriptors_tree_widget.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/profiler_gui/blocks_tree_widget.cpp b/profiler_gui/blocks_tree_widget.cpp index 56b3939..4914d7c 100644 --- a/profiler_gui/blocks_tree_widget.cpp +++ b/profiler_gui/blocks_tree_widget.cpp @@ -1142,10 +1142,10 @@ EasyHierarchyWidget::EasyHierarchyWidget(QWidget* _parent) : Parent(_parent) { loadSettings(); - m_searchBox->setFixedWidth(200); + m_searchBox->setFixedWidth(300); m_searchBox->setContentsMargins(5, 0, 0, 0); - QMenu* menu = new QMenu(this); + auto menu = new QMenu(this); m_searchButton = menu->menuAction(); m_searchButton->setText("Find next"); m_searchButton->setIcon(QIcon(":/images/find-next")); diff --git a/profiler_gui/descriptors_tree_widget.cpp b/profiler_gui/descriptors_tree_widget.cpp index ad3f1de..7c62d6a 100644 --- a/profiler_gui/descriptors_tree_widget.cpp +++ b/profiler_gui/descriptors_tree_widget.cpp @@ -739,7 +739,7 @@ EasyDescWidget::EasyDescWidget(QWidget* _parent) : Parent(_parent) { loadSettings(); - m_searchBox->setFixedWidth(200); + m_searchBox->setFixedWidth(300); m_searchBox->setContentsMargins(5, 0, 0, 0); auto tb = new QToolBar(this);