Skip to content

Commit

Permalink
fix: rearrange buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
lvjonok committed Aug 5, 2024
1 parent 0d083cb commit 64f8e40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,6 @@ def get_cur_row():
buttons_layout.addWidget(self.save_gcode_button, get_cur_row(), 3)
buttons_layout.setColumnMinimumWidth(1, 230)

self.color_model_button = QPushButton(self.locale.ColorModel)
buttons_layout.addWidget(self.color_model_button, get_cur_row(), 3)

self.slice_vip_button = QPushButton(self.locale.SliceVip)
buttons_layout.addWidget(self.slice_vip_button, get_next_row(), 1, 1, 2)

Expand Down Expand Up @@ -499,6 +496,9 @@ def init_figure_panel(self):
self.remove_plane_button = QPushButton(self.locale.DeletePlane)
bottom_layout.addWidget(self.remove_plane_button, 3, 2)

self.color_model_button = QPushButton(self.locale.ColorModel)
bottom_layout.addWidget(self.color_model_button, 3, 3)

self.edit_figure_button = QPushButton(self.locale.EditFigure)
bottom_layout.addWidget(self.edit_figure_button, 4, 2)

Expand Down

0 comments on commit 64f8e40

Please sign in to comment.