Skip to content

Commit b73f0fa

Browse files
rearranged probe view
1 parent 03090d0 commit b73f0fa

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

kilosort/gui/probe_view_box.py

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,23 @@ def setup(self):
5959
layout = QtWidgets.QVBoxLayout()
6060
layout.addWidget(QtWidgets.QLabel('Left click to toggle excluded channels'))
6161
layout.addWidget(self.probe_view, 95)
62+
6263
chan_box = QtWidgets.QHBoxLayout()
6364
chan_box.addWidget(self.aspect_toggle)
6465
chan_box.addWidget(self.channel_toggle)
6566
layout.addLayout(chan_box)
66-
layout.addWidget(self.template_toggle)
67-
layout.addWidget(self.center_toggle)
68-
op_box = QtWidgets.QHBoxLayout()
69-
op_box.addWidget(self.color_toggle)
70-
op_box.addWidget(self.number_toggle)
71-
layout.addLayout(op_box)
67+
68+
temp_box = QtWidgets.QHBoxLayout()
69+
temp_box.addWidget(self.template_toggle)
70+
temp_box.addWidget(self.color_toggle)
71+
layout.addLayout(temp_box)
72+
73+
center_box = QtWidgets.QHBoxLayout()
74+
center_box.addWidget(self.center_toggle)
75+
center_box.addWidget(self.number_toggle)
76+
layout.addLayout(center_box)
7277
layout.addWidget(self.spot_scale)
78+
7379
self.setLayout(layout)
7480

7581
def reset_spots_variables(self):

0 commit comments

Comments
 (0)