Merge pull request #5108 from Chocobo1/ui_fixes

Fix long text clipping. Closes #5091.
This commit is contained in:
sledgehammer999 2016-04-12 15:55:32 -05:00
commit 29394293ed

View file

@ -83,7 +83,7 @@ options_imp::options_imp(QWidget *parent)
#endif
tabSelection->item(TAB_ADVANCED)->setIcon(GuiIconProvider::instance()->getIcon("preferences-other"));
for (int i = 0; i < tabSelection->count(); ++i) {
tabSelection->item(i)->setSizeHint(QSize(96, 64)); // uniform size for all icons
tabSelection->item(i)->setSizeHint(QSize(std::numeric_limits<int>::max(), 64)); // uniform size for all icons
}
IpFilterRefreshBtn->setIcon(GuiIconProvider::instance()->getIcon("view-refresh"));