From 8b5dda95c42c59ce9b50cd4a6f1d2c57ff399c18 Mon Sep 17 00:00:00 2001 From: sbh Date: Thu, 10 Apr 2014 17:37:16 +0400 Subject: [PATCH] Align text and icons of features in the workbench to the left --- src/XGUI/XGUI_Command.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/XGUI/XGUI_Command.cpp b/src/XGUI/XGUI_Command.cpp index 5ec79621f..5e9ffb8fb 100644 --- a/src/XGUI/XGUI_Command.cpp +++ b/src/XGUI/XGUI_Command.cpp @@ -25,6 +25,7 @@ QWidget* XGUI_Command::createWidget(QWidget* theParent) QPushButton* aBtn = new QPushButton(theParent); aBtn->setIcon(icon()); aBtn->setText(text()); + aBtn->setStyleSheet("text-align: left"); QKeySequence aKeys = shortcut(); QString aToolTip = toolTip(); if (!aKeys.isEmpty()) -- 2.39.2