Commits

André Sintzoff committed e339cc5

workbench: adjust the URL combo size according to the items

Comments (0)

Files changed (1)

tortoisehg/hgqt/workbench.py

                   tooltip=_('Push outgoing changes to selected URL'),
                   enabled='repoopen', toolbar='sync')
         self.urlCombo = QComboBox(self)
+        self.urlCombo.setSizeAdjustPolicy(QComboBox.AdjustToContents)
         self.synctbar.addWidget(self.urlCombo)
         self.synctbar.actionTriggered.connect(self._runSyncAction)