Skip to content

Commit

Permalink
refactor(btn): revert to larger button width
Browse files Browse the repository at this point in the history
  • Loading branch information
hahnec committed May 14, 2020
1 parent 08c7399 commit b19ba76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plenopticam/gui/widget_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,11 @@ def create_buttons(self):
# auto-play button
self._btn_auto_text = tk.StringVar()
self._btn_auto_text.set(self._loop_symbol)
self.btn_auto = tk.Button(self, textvariable=self._btn_auto_text, command=self.auto_play, height=1, width=1)
self.btn_auto = tk.Button(self, textvariable=self._btn_auto_text, command=self.auto_play, height=1, width=2)
self.btn_auto.place(x=PX, y=PY, anchor=tk.NW)

# mode button
self.btn_mode = tk.Button(self, textvariable=self._mode_text, command=self.switch_mode, height=1, width=1)
self.btn_mode = tk.Button(self, textvariable=self._mode_text, command=self.switch_mode, height=1, width=2)
self.btn_mode.place(x=PX, y=PY*4, anchor=tk.NW)

# instantiate button objects for light-field
Expand All @@ -202,7 +202,7 @@ def create_buttons(self):
[self._ht/4, self._ht/4, PY, self.shape[0]+PY*4.5]]
for i, text in enumerate(self._arrow_symbols):
next_frame_arg = partial(self.show_image, i)
self.btn_arrows.append(tk.Button(self, text=text, command=next_frame_arg, height=1, width=1))
self.btn_arrows.append(tk.Button(self, text=text, command=next_frame_arg, height=1, width=2))
self.btn_arrows[i].place(x=btn_pos[0][i], y=btn_pos[1][i], anchor=tk.NW)

return True
Expand Down

0 comments on commit b19ba76

Please sign in to comment.