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

- as discussed in bug #10777 the first column should be left-aligned
This commit is contained in:
Uwe Stöhr 2017-11-05 13:39:09 +01:00
parent 4ec80c1865
commit 56670d7322

View File

@ -1249,8 +1249,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%;");