Skip to content
Permalink
Browse files

ConfigDialog: adjust dialog height when errors are shown on macOS

  • Loading branch information...
albertosottile committed Jun 21, 2019
1 parent b37a514 commit 763406b6604679b984d685bea5036a70a228b6c9
Showing with 2 additions and 0 deletions.
  1. +2 −0 syncplay/ui/GuiConfiguration.py
@@ -1419,6 +1419,8 @@ def __init__(self, config, playerpaths, error, defaultConfig):
self.storeAndRunButton.setFocus()
if isMacOS():
initialHeight = self.connectionSettingsGroup.minimumSizeHint().height()+self.mediaplayerSettingsGroup.minimumSizeHint().height()+self.bottomButtonFrame.minimumSizeHint().height()+50
if self.error:
initialHeight += 40
self.setFixedWidth(self.sizeHint().width())
self.setFixedHeight(initialHeight)
else:

0 comments on commit 763406b

Please sign in to comment.
You can’t perform that action at this time.