GuiDocument.cpp: change back alignment for column with package names

- as discussed in bug #10777 the first column should be left-aligned

(cherry picked from commit 56670d7322)
This commit is contained in:
Uwe Stöhr 2017-11-05 13:39:09 +01:00 committed by Juergen Spitzmueller
parent eb172be29b
commit 91a15383f9

View File

@ -1252,8 +1252,7 @@ GuiDocument::GuiDocument(GuiView & lv)
mathsModule->packagesTW->setCellWidget(i, 1, autoRB); mathsModule->packagesTW->setCellWidget(i, 1, autoRB);
mathsModule->packagesTW->setCellWidget(i, 2, alwaysRB); mathsModule->packagesTW->setCellWidget(i, 2, alwaysRB);
mathsModule->packagesTW->setCellWidget(i, 3, neverRB); mathsModule->packagesTW->setCellWidget(i, 3, neverRB);
//center the table contents //center the radio buttons
pack->setTextAlignment(Qt::AlignHCenter);
autoRB->setStyleSheet("margin-left:50%; margin-right:50%;"); autoRB->setStyleSheet("margin-left:50%; margin-right:50%;");
alwaysRB->setStyleSheet("margin-left:50%; margin-right:50%;"); alwaysRB->setStyleSheet("margin-left:50%; margin-right:50%;");
neverRB->setStyleSheet("margin-left:50%; margin-right:50%;"); neverRB->setStyleSheet("margin-left:50%; margin-right:50%;");