Skip to content

Commit

Permalink
Adjust label spacing in seg tool settings dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
zjp committed Nov 7, 2023
1 parent 5ead6aa commit 6a0814c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/bundles/dicom/src/ui/segmentations.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,9 @@ def _add_mouse_2d_tab(self):
self.mouse_control_2d_dropdown_container = QWidget()
self.mouse_control_2d_dropdown_container_layout = QVBoxLayout()
self.mouse_control_2d_dropdown_container.setLayout(self.mouse_control_2d_dropdown_container_layout)
windows_spacings = [98, 12, 12, 12]
windows_spacings = [50, 12, 12, 12]
mac_spacings = [50, 12, 12, 12]
linux_spacings = [98, 12, 12, 12]
linux_spacings = [52, 14, 18, 14]
if sys.platform == "win32":
spacings = windows_spacings
elif sys.platform == "darwin":
Expand Down Expand Up @@ -363,9 +363,9 @@ def _add_mouse_3d_tab(self):
self.middle_click_3d_label = QLabel("(+shift) " + str(MouseAction.MOVE_SPHERE))
self.scroll_3d_label = QLabel("(+shift) " + str(MouseAction.RESIZE_SPHERE))
self.left_click_3d_label = QLabel('n/a')
windows_spacings = [50, 2, 6, 16]
windows_spacings = [50, 12, 20, 26]
mac_spacings = [50, 12, 20, 24]
linux_spacings = [50, 2, 6, 16]
linux_spacings = [52, 14, 22, 26]
if sys.platform == "win32":
spacings = windows_spacings
elif sys.platform == "darwin":
Expand Down Expand Up @@ -407,9 +407,9 @@ def _add_vr_tab(self):
self.grip_label = QLabel(str(HandAction.MOVE_CURSOR))
self.a_button_label = QLabel(str(HandAction.ERASE_FROM_SEGMENTATION))
self.b_button_label = QLabel("n/a")
windows_spacings = [88, 46, 10, 18, 72, 36]
windows_spacings = [90, 50, 16, 20, 80, 40]
mac_spacings = [90, 50, 16, 20, 80, 40]
linux_spacings = [88, 46, 10, 18, 72, 36]
linux_spacings = [92, 52, 18, 22, 82, 42]
if sys.platform == "win32":
spacings = windows_spacings
elif sys.platform == "darwin":
Expand Down

0 comments on commit 6a0814c

Please sign in to comment.