Skip to content

Commit d0a20c8

Browse files
committed
toolbar fix
1 parent e04e68b commit d0a20c8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

arduino_logique.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def main():
5050
# Creating the toolbar instance
5151
toolbar = Toolbar(parent=win, canvas=canvas, sketcher=sketcher, current_dict_circuit=sketcher.current_dict_circuit)
5252
# Placing the secondary top bar in row=1, column=1 (spanning only the canvas area)
53-
toolbar.topbar_frame.grid(row=1, column=1, sticky="ew", padx=(0, 10), pady=(0, 0))
53+
toolbar.topbar_frame.grid(row=1, column=1, sticky="ew", padx=(0, 0), pady=(0, 0))
5454

5555
# Set initial scale factor
5656
initial_scale = 1.0 # Equivalent to 10.0 / 10.0

toolbar.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ def create_topbar(self, parent: tk.Tk):
9595
borderwidth=0,
9696
highlightthickness=0,
9797
)
98+
Hovertip(self.color_button, "Choisir une couleur pour les composantes", 500)
9899
self.color_button.pack(side=tk.LEFT, padx=2, pady=2)
99100
self.create_button("Delete", right_frame, images, "Supprimer un composant")
100101

0 commit comments

Comments
 (0)