mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
changed emoticon widget to show 24x24 emoticons
This commit is contained in:
parent
1858ed2232
commit
bfc06df8a5
|
@ -81,7 +81,7 @@ EmoticonsWidget::EmoticonsWidget(QWidget *parent) :
|
||||||
for (const QStringList& set : emoticons)
|
for (const QStringList& set : emoticons)
|
||||||
{
|
{
|
||||||
QPushButton* button = new QPushButton;
|
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->setToolTip(set.join(" "));
|
||||||
button->setProperty("sequence", set[0]);
|
button->setProperty("sequence", set[0]);
|
||||||
button->setCursor(Qt::PointingHandCursor);
|
button->setCursor(Qt::PointingHandCursor);
|
||||||
|
|
|
@ -3,8 +3,8 @@ QPushButton
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
background-repeat: none;
|
background-repeat: none;
|
||||||
border: none;
|
border: none;
|
||||||
width: 18px;
|
width: 24px;
|
||||||
height: 18px;
|
height: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QRadioButton::indicator
|
QRadioButton::indicator
|
||||||
|
|
Loading…
Reference in New Issue
Block a user