mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[about] resizing type icons
This commit is contained in:
@@ -56,7 +56,7 @@ class AboutDialog(QDialog):
|
|||||||
for gem_path in available_gems:
|
for gem_path in available_gems:
|
||||||
icon = QLabel()
|
icon = QLabel()
|
||||||
icon_path = gem_path + '/resources/img/{}.svg'.format(gem_path.split('/')[-1])
|
icon_path = gem_path + '/resources/img/{}.svg'.format(gem_path.split('/')[-1])
|
||||||
icon.setPixmap(QIcon(icon_path).pixmap(QSize(24, 24)))
|
icon.setPixmap(QIcon(icon_path).pixmap(QSize(25, 25)))
|
||||||
gems_widget.layout().addWidget(icon)
|
gems_widget.layout().addWidget(icon)
|
||||||
gems_widget.layout().addWidget(QLabel())
|
gems_widget.layout().addWidget(QLabel())
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user