]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Align text and icons of features in the workbench to the left
authorsbh <sergey.belash@opencascade.com>
Thu, 10 Apr 2014 13:37:16 +0000 (17:37 +0400)
committersbh <sergey.belash@opencascade.com>
Thu, 10 Apr 2014 13:37:16 +0000 (17:37 +0400)
src/XGUI/XGUI_Command.cpp

index 5ec79621fd4abcbbd44c5270f9b9c28d4a5bc12e..5e9ffb8fb8113df363de9eaa668aa6cb2d5a669d 100644 (file)
@@ -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())