Skip to content
Snippets Groups Projects
Commit 8a82227a authored by Thomas Holene Løkkeborg's avatar Thomas Holene Løkkeborg
Browse files

#125 lint fiks

parent 6e5f0938
No related branches found
No related tags found
1 merge request!70#125 løsning til oppløsningstrøbbel ved å bruke px ikke pt i font
Pipeline #82913 passed
......@@ -12,7 +12,6 @@ from PySide2.QtWidgets import (
QGraphicsProxyWidget,
)
from PySide2.QtGui import (
QFont,
QPixmap,
QBrush,
QPalette,
......
......@@ -15,7 +15,7 @@ def qfont_with_pixel_size(font_family, pixel_size, weight=None):
Name of font family. Sent to https://doc.qt.io/qt-5/qfont.html#QFont-1
pixel_size : int
Pixel size. Sent to https://doc.qt.io/qt-5/qfont.html#setPixelSize
weight : QFont.Weight
weight : QFont.Weight
Weight of font. Sent to https://doc.qt.io/qt-5/qfont.html#QFont-1
"""
if weight is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment