diff options
-rw-r--r-- | image-record-annotate.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/image-record-annotate.py b/image-record-annotate.py index d206bca..341cfe4 100644 --- a/image-record-annotate.py +++ b/image-record-annotate.py @@ -128,14 +128,11 @@ class CamControlPanel(tk.Frame): self.exposure_time.value = 0.02 self.sensitivity.value = 1.5 configure() - - class AnnotationPanel(tk.Frame): - _PERSONS = ["nobody", "kris", "stefan", "sophia", "jonas", "juerg", "petar"] - _PERSONS = ["nobody", "kris", "stefan", "sophia", "jonas", "juerg", "petar"] + _PERSONS = ["nobody", "kris", "stefan", "sophia", "jonas", "juerg", "petar", "matthias", "felix", "patrickb",'patrickk','patrick','anne','stefan','margaret','michi','guenter','daniel'] _POSES = ["no pose", "sleeping", "typing", "writting", "tinkering"] def __init__(self, *args, **kwargs): @@ -152,13 +149,13 @@ class AnnotationPanel(tk.Frame): tk.Label(self,text='Person:').grid(column=0, row=2, sticky='w') - self.person_list = tk.Listbox(self, exportselection=False) + self.person_list = tk.Listbox(self, exportselection=False, height=20) self.person_list.grid(column=0, row=3) [self.person_list.insert(tk.END, item) for item in self._PERSONS] tk.Label(self,text='Pose:').grid(column=1, row=2, sticky='w') - self.pose_list = tk.Listbox(self, selectmode=tk.SINGLE, exportselection=False) + self.pose_list = tk.Listbox(self, selectmode=tk.SINGLE, exportselection=False, height=20) self.pose_list.grid(column=1, row=3) [self.pose_list.insert(tk.END, item) for item in self._POSES] |