Skip to content

Commit

Permalink
Update autofocus_setting_popup.py
Browse files Browse the repository at this point in the history
Added units, and clarified labels on device and axis.
  • Loading branch information
EvoleneP committed Nov 6, 2024
1 parent 365fbad commit 24f82e1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/navigate/view/popups/autofocus_setting_popup.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def __init__(self, root, *args, **kwargs):

self.inputs["device"] = LabelInput(
parent=device_frame,
label="Device Type",
label="Device:",
input_class=ttk.Combobox,
input_var=tk.StringVar(),
input_args={"width": 20, "state": "readonly"},
Expand All @@ -97,7 +97,7 @@ def __init__(self, root, *args, **kwargs):

self.inputs["device_ref"] = LabelInput(
parent=device_frame,
label="Device Reference",
label="Axis:",
input_class=ttk.Combobox,
input_var=tk.StringVar(),
input_args={"width": 20, "state": "readonly"},
Expand All @@ -108,7 +108,11 @@ def __init__(self, root, *args, **kwargs):
starting_row_id = 1

# Row 0, Column Titles
title_labels = ["Select", "Range", "Step Size"]
title_labels = [
"Select",
"Range (" + "\N{GREEK SMALL LETTER MU}" + "m)",
"Step Size (" + "\N{GREEK SMALL LETTER MU}" + "m)"
]
for i in range(3):
title = ttk.Label(content_frame, text=title_labels[i], padding=(2, 5, 0, 0))
title.grid(row=starting_row_id, column=i, sticky=tk.NSEW)
Expand Down

0 comments on commit 24f82e1

Please sign in to comment.