mirror of
https://github.com/Syncplay/syncplay
synced 2025-01-31 11:11:33 +00:00
Add 30px GuiConfig tab list padding
This commit is contained in:
parent
5525ec0dfd
commit
2d6f1ee7b1
@ -55,6 +55,7 @@ SYNC_ON_PAUSE = True # Client seek to global position - subtitles may disappear
|
||||
PLAYLIST_MAX_CHARACTERS = 10000
|
||||
PLAYLIST_MAX_ITEMS = 250
|
||||
MAXIMUM_TAB_WIDTH = 350
|
||||
TAB_PADDING = 30
|
||||
|
||||
# Maximum character lengths (for client and server)
|
||||
MAX_CHAT_MESSAGE_LENGTH = 50 # Number of displayed characters
|
||||
|
@ -1002,7 +1002,7 @@ class ConfigDialog(QtWidgets.QDialog):
|
||||
self.tabListWidget.addItem(QtWidgets.QListWidgetItem(QtGui.QIcon(self.resourcespath + u"cog.png"),getMessage("misc-label")))
|
||||
self.tabListLayout.addWidget(self.tabListWidget)
|
||||
self.tabListFrame.setLayout(self.tabListLayout)
|
||||
self.tabListFrame.setFixedWidth(self.tabListFrame.minimumSizeHint().width())
|
||||
self.tabListFrame.setFixedWidth(self.tabListFrame.minimumSizeHint().width() + constants.TAB_PADDING)
|
||||
self.tabListWidget.setStyleSheet(constants.STYLE_TABLIST)
|
||||
|
||||
self.tabListWidget.currentItemChanged.connect(self.tabChange)
|
||||
|
Loading…
Reference in New Issue
Block a user