]> git.lyx.org Git - features.git/commitdiff
GuiDocument.cpp: change back alignment for column with package names
authorUwe Stöhr <uwestoehr@lyx.org>
Sun, 5 Nov 2017 12:39:09 +0000 (13:39 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 18 Mar 2018 15:36:21 +0000 (16:36 +0100)
- as discussed in bug #10777 the first column should be left-aligned

(cherry picked from commit 56670d73224e3bc2b80943b789fa2364d00a552d)

src/frontends/qt4/GuiDocument.cpp

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