Skip to content

Commit

Permalink
adjusted button width
Browse files Browse the repository at this point in the history
  • Loading branch information
tianrui98 committed Nov 28, 2024
1 parent af0bb57 commit 2cf4492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UI.py
Original file line number Diff line number Diff line change
Expand Up @@ -1509,7 +1509,7 @@ def create_group_frame (self, identical_stage = False):
_ = self.add_text(image_list_label, 0, 1, 1, 1, self.right_main_frame, "w")

#buttons
button_width = self._pixel_to_char(self.right_main_frame_width_pixel)
button_width = self._pixel_to_char(self.right_main_frame_width_pixel * 0.7)
button_height = min(self._pixel_to_char(30), 2)
list_button_frame = self.add_frame(5,self.right_main_frame_width_pixel, 0, 3,2,1,self.right_main_frame, "w")
_ = self.add_button("Remove from list (R)", self.group_frame_remove_image_from_list, button_height, button_width, 0, 3, 1,1, list_button_frame, "w")
Expand Down

0 comments on commit 2cf4492

Please sign in to comment.