From bfc06df8a5c302ebeed945137b5f78ed917f3716 Mon Sep 17 00:00:00 2001 From: Joseph Anania III Date: Wed, 18 Feb 2015 11:31:40 -0500 Subject: [PATCH] changed emoticon widget to show 24x24 emoticons --- src/widget/emoticonswidget.cpp | 2 +- ui/emoticonWidget/emoticonWidget.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/widget/emoticonswidget.cpp b/src/widget/emoticonswidget.cpp index 128cd24ae..efe71e719 100644 --- a/src/widget/emoticonswidget.cpp +++ b/src/widget/emoticonswidget.cpp @@ -81,7 +81,7 @@ EmoticonsWidget::EmoticonsWidget(QWidget *parent) : for (const QStringList& set : emoticons) { QPushButton* button = new QPushButton; - button->setIcon(SmileyPack::getInstance().getAsIcon(set[0]).pixmap(QSize(18,18))); + button->setIcon(SmileyPack::getInstance().getAsIcon(set[0]).pixmap(QSize(24,24))); button->setToolTip(set.join(" ")); button->setProperty("sequence", set[0]); button->setCursor(Qt::PointingHandCursor); diff --git a/ui/emoticonWidget/emoticonWidget.css b/ui/emoticonWidget/emoticonWidget.css index 093db5122..a36a616a7 100644 --- a/ui/emoticonWidget/emoticonWidget.css +++ b/ui/emoticonWidget/emoticonWidget.css @@ -3,8 +3,8 @@ QPushButton background-color: transparent; background-repeat: none; border: none; - width: 18px; - height: 18px; + width: 24px; + height: 24px; } QRadioButton::indicator