From 3652b9dbe0a05275e7724aa4fe5a601aff5907e5 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann <Thomas.Hartmann@nokia.com> Date: Wed, 4 Aug 2010 14:02:51 +0200 Subject: [PATCH] QtQuickToolBar: change button size --- .../components/propertyeditor/contextpanewidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/qmldesigner/components/propertyeditor/contextpanewidget.cpp b/src/plugins/qmldesigner/components/propertyeditor/contextpanewidget.cpp index c036eae39fc..fcf9884ccf7 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/contextpanewidget.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/contextpanewidget.cpp @@ -435,7 +435,7 @@ void ContextPaneWidget::setPinButton() m_toolButton->setIcon(QPixmap::fromImage(QImage(pin_xpm))); m_toolButton->setToolButtonStyle(Qt::ToolButtonIconOnly); - m_toolButton->setFixedSize(16, 16); + m_toolButton->setFixedSize(20, 20); m_toolButton->setToolTip(tr("Unpins the toolbar. The toolbar will be moved to its default position.")); DesignerSettings designerSettings = Internal::BauhausPlugin::pluginInstance()->settings(); @@ -454,7 +454,7 @@ void ContextPaneWidget::setLineButton() m_toolButton->setAutoRaise(true); m_toolButton->setIcon(QPixmap::fromImage(QImage(line_xpm))); m_toolButton->setToolButtonStyle(Qt::ToolButtonIconOnly); - m_toolButton->setFixedSize(16, 16); + m_toolButton->setFixedSize(20, 20); m_toolButton->setToolTip(tr("Hides this toolbar. This toolbar can be permantly disabled in the options or in the context menu.")); DesignerSettings designerSettings = Internal::BauhausPlugin::pluginInstance()->settings(); -- GitLab