r24659 by jghali - #16587: Icons are badly aligned with titles in Preferences window
scribus-commit
scribus-commit at lists.scribus.net
Sat Jun 5 13:09:32 UTC 2021
Author: jghali
Date: Sat Jun 5 13:09:32 2021
New Revision: 24659
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24659
Log:
#16587: Icons are badly aligned with titles in Preferences window
Modified:
trunk/Scribus/scribus/ui/preferencesdialog.cpp
Modified: trunk/Scribus/scribus/ui/preferencesdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24659&path=/trunk/Scribus/scribus/ui/preferencesdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/preferencesdialog.cpp (original)
+++ trunk/Scribus/scribus/ui/preferencesdialog.cpp Sat Jun 5 13:09:32 2021
@@ -263,7 +263,7 @@
{
//TODO: Can we avoid using this name and duplicating strings by getting it from the tab UIs
QListWidgetItem* newItem = new QListWidgetItem(IconManager::instance().loadIcon(tab->icon()), tab->caption(), preferencesTypeList);
- newItem->setTextAlignment(Qt::AlignLeft);
+ newItem->setTextAlignment(Qt::AlignLeft | Qt::AlignVCenter);
int i = prefsStackWidget->addWidget(tab);
stackWidgetMap.insert(newItem, i);
}
More information about the scribus-commit
mailing list