Increase maximum tab list width to 350px (issue reported by Dan)

This commit is contained in:
Et0h 2017-01-27 16:31:00 +00:00
parent 1a495d590e
commit 4b8304139a
2 changed files with 2 additions and 1 deletions

View File

@ -54,6 +54,7 @@ DO_NOT_RESET_POSITION_THRESHOLD = 1.0
SYNC_ON_PAUSE = True # Client seek to global position - subtitles may disappear on some media players
PLAYLIST_MAX_CHARACTERS = 10000
PLAYLIST_MAX_ITEMS = 250
MAXIMUM_TAB_WIDTH = 350
# Maximum character lengths (for client and server)
MAX_CHAT_MESSAGE_LENGTH = 50 # Number of displayed characters

View File

@ -977,7 +977,7 @@ class ConfigDialog(QtGui.QDialog):
def ensureTabListIsVisible(self):
self.stackedFrame.setFixedWidth(self.stackedFrame.width())
while self.tabListWidget.horizontalScrollBar().isVisible() and self.tabListFrame.width() < 200:
while self.tabListWidget.horizontalScrollBar().isVisible() and self.tabListFrame.width() < constants.MAXIMUM_TAB_WIDTH:
self.tabListFrame.setFixedWidth(self.tabListFrame.width()+1)
def tabChange(self):