Skip to content

Commit c58c196

Browse files
committed
Increase width of TTL slider
- horizontal slider was too narrow and unusable on the latest Fedora. Increased size and tested at 800x600 to make sure it's not too wide now.
1 parent 67c3d7b commit c58c196

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bitmessageqt/bitmessageui.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def setupUi(self, MainWindow):
325325
self.pushButtonTTL.setObjectName(_fromUtf8("pushButtonTTL"))
326326
self.horizontalLayout_5.addWidget(self.pushButtonTTL, 0, QtCore.Qt.AlignRight)
327327
self.horizontalSliderTTL = QtGui.QSlider(self.send)
328-
self.horizontalSliderTTL.setMinimumSize(QtCore.QSize(35, 0))
328+
self.horizontalSliderTTL.setMinimumSize(QtCore.QSize(70, 0))
329329
self.horizontalSliderTTL.setOrientation(QtCore.Qt.Horizontal)
330330
self.horizontalSliderTTL.setInvertedAppearance(False)
331331
self.horizontalSliderTTL.setInvertedControls(False)
@@ -343,7 +343,7 @@ def setupUi(self, MainWindow):
343343
self.pushButtonSend = QtGui.QPushButton(self.send)
344344
self.pushButtonSend.setObjectName(_fromUtf8("pushButtonSend"))
345345
self.horizontalLayout_5.addWidget(self.pushButtonSend, 0, QtCore.Qt.AlignRight)
346-
self.horizontalSliderTTL.setMaximumSize(QtCore.QSize(70, self.pushButtonSend.height()))
346+
self.horizontalSliderTTL.setMaximumSize(QtCore.QSize(105, self.pushButtonSend.height()))
347347
self.verticalSplitter.addWidget(self.tTLContainer)
348348
self.tTLContainer.adjustSize()
349349
self.verticalSplitter.setStretchFactor(1, 0)

0 commit comments

Comments
 (0)