From: sbh Date: Thu, 10 Apr 2014 13:37:16 +0000 (+0400) Subject: Align text and icons of features in the workbench to the left X-Git-Tag: V_0.1~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8b5dda95c42c59ce9b50cd4a6f1d2c57ff399c18;p=modules%2Fshaper.git Align text and icons of features in the workbench to the left --- 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())