[minor] cosmetics

This commit is contained in:
Marcel Paffrath 2017-08-23 09:20:59 +02:00
parent 62610cd592
commit 9a5196c33f

View File

@ -2051,6 +2051,8 @@ class AutoPickWidget(QWidget):
self.main_layout.setStretch(0, 0)
self.main_layout.setStretch(1, 1)
self.main_splitter.setStretchFactor(0, 1)
self.main_splitter.setStretchFactor(1, 2)
def connect_buttons(self):
self.start_button.clicked.connect(self.start_picker)
@ -2109,6 +2111,8 @@ class AutoPickWidget(QWidget):
tooltip += '{}'.format(event.pylot_id)
if not index + 1 == len(eventlist):
tooltip += '\n'
if not tooltip:
tooltip = 'No events for this selection'
self.rb_dict[key].setToolTip(tooltip)
def start_picker(self):