Skip to content

Commit 950ee47

Browse files
committed
pixelated pixmap icons fixed.
1 parent ab61f2a commit 950ee47

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/qt/pivx/forms/sendchangeaddressdialog.ui

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@
163163
<property name="text">
164164
<string>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim.</string>
165165
</property>
166+
<property name="alignment">
167+
<set>Qt::AlignCenter</set>
168+
</property>
166169
<property name="wordWrap">
167170
<bool>true</bool>
168171
</property>
@@ -220,7 +223,7 @@
220223
<item>
221224
<layout class="QHBoxLayout" name="horizontalLayout" stretch="2,2">
222225
<property name="spacing">
223-
<number>-1</number>
226+
<number>6</number>
224227
</property>
225228
<property name="leftMargin">
226229
<number>30</number>

src/qt/pivx/txrow.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@ void TxRow::setType(bool isLightTheme, TransactionRecord::Type type, bool isConf
9393
path += "-dark";
9494
}
9595
ui->lblAmount->setProperty("cssClass", css);
96-
QPixmap pixmap(path);
97-
QIcon buttonIcon(pixmap);
98-
ui->icon->setIcon(buttonIcon);
96+
ui->icon->setIcon(QIcon(path));
9997
}
10098

10199
TxRow::~TxRow()

0 commit comments

Comments
 (0)