From c58c1969e5f37b1f13bc667786da97ea713032ad Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Sun, 21 Aug 2016 07:23:46 +0200 Subject: [PATCH] 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. --- src/bitmessageqt/bitmessageui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bitmessageqt/bitmessageui.py b/src/bitmessageqt/bitmessageui.py index 1761dfe3..a1f51b61 100644 --- a/src/bitmessageqt/bitmessageui.py +++ b/src/bitmessageqt/bitmessageui.py @@ -325,7 +325,7 @@ class Ui_MainWindow(object): self.pushButtonTTL.setObjectName(_fromUtf8("pushButtonTTL")) self.horizontalLayout_5.addWidget(self.pushButtonTTL, 0, QtCore.Qt.AlignRight) self.horizontalSliderTTL = QtGui.QSlider(self.send) - self.horizontalSliderTTL.setMinimumSize(QtCore.QSize(35, 0)) + self.horizontalSliderTTL.setMinimumSize(QtCore.QSize(70, 0)) self.horizontalSliderTTL.setOrientation(QtCore.Qt.Horizontal) self.horizontalSliderTTL.setInvertedAppearance(False) self.horizontalSliderTTL.setInvertedControls(False) @@ -343,7 +343,7 @@ class Ui_MainWindow(object): self.pushButtonSend = QtGui.QPushButton(self.send) self.pushButtonSend.setObjectName(_fromUtf8("pushButtonSend")) self.horizontalLayout_5.addWidget(self.pushButtonSend, 0, QtCore.Qt.AlignRight) - self.horizontalSliderTTL.setMaximumSize(QtCore.QSize(70, self.pushButtonSend.height())) + self.horizontalSliderTTL.setMaximumSize(QtCore.QSize(105, self.pushButtonSend.height())) self.verticalSplitter.addWidget(self.tTLContainer) self.tTLContainer.adjustSize() self.verticalSplitter.setStretchFactor(1, 0)