Add configurable web zoom factor
This commit is contained in:
parent
8c69f108cb
commit
e7004688d0
@ -59,6 +59,7 @@ class Config(object):
|
||||
TIMER_MS = 500
|
||||
TRACK_TIME_FORMAT = "%H:%M:%S"
|
||||
VOLUME_VLC_DEFAULT = 75
|
||||
WEB_ZOOM_FACTOR = 1.4
|
||||
|
||||
|
||||
config = Config
|
||||
|
||||
@ -468,6 +468,7 @@ class Window(QMainWindow, Ui_MainWindow):
|
||||
else:
|
||||
# Create a new tab for this title
|
||||
widget = self.info_tabs[title] = QWebView()
|
||||
widget.setZoomFactor(Config.WEB_ZOOM_FACTOR)
|
||||
self.tabPlaylist.addTab(
|
||||
widget, title[:Config.INFO_TAB_TITLE_LENGTH])
|
||||
txt = urllib.parse.quote_plus(title)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user