Skip to content

Commit b28ccfc

Browse files
committed
FIx buttons
1 parent ee72916 commit b28ccfc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

menus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def __init__(
156156
fg="white",
157157
font=("FiraCode-Bold", 12),
158158
)
159-
self.microcontroller_label.pack(side="right", padx=10)
159+
self.microcontroller_label.pack(side="right", fill="y", padx=175)
160160

161161
# Bind to parent to close dropdowns when clicking outside
162162
self.parent.bind("<Button-1>", self.close_dropdown, add="+")

toolbar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ def create_topbar(self, parent: tk.Tk):
6868

6969
# Create left and right subframes
7070
left_frame = tk.Frame(self.topbar_frame, bg="#505050")
71-
left_frame.pack(side=tk.LEFT, padx=5, pady=5)
71+
left_frame.pack(side=tk.LEFT, padx=50, pady=5)
7272

7373
right_frame = tk.Frame(self.topbar_frame, bg="#505050")
74-
right_frame.pack(side=tk.RIGHT, padx=5, pady=5)
74+
right_frame.pack(after=left_frame, side=tk.LEFT, padx=100, pady=5)
7575

7676
# Load images
7777
images = self.load_images()

0 commit comments

Comments
 (0)