remove tearoff bar

This commit is contained in:
Mylloon 2023-06-02 12:13:09 +02:00
parent 3f07d0dead
commit ec439aff69
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -101,8 +101,9 @@ class GUI:
self.parent.config(menu=menu_bar) self.parent.config(menu=menu_bar)
# Menu "Style" # Menu "Style"
file_menu = Menu(menu_bar) file_menu = Menu(menu_bar, tearoff=0)
self.style_menu = Menu(file_menu) file_menu.add_separator()
self.style_menu = Menu(file_menu, tearoff=0)
self._add_styles_menu_bar(start) self._add_styles_menu_bar(start)
file_menu.add_cascade(label="Selection style", menu=self.style_menu) file_menu.add_cascade(label="Selection style", menu=self.style_menu)