-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #84: Create Drop down Menu in GUI for different lines styles #100
base: master
Are you sure you want to change the base?
Conversation
|
||
self.current_line_style = StringVar(top) | ||
self.current_line_style.set('-') | ||
self.line_styles = {'-', '--', '-.', ':'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shows only symbols in the drop down which looks a bit weird. Please show style names on drop down. Like solid line, dashed, dot dashed. Symbols should be present in bracket.
self.dropdown_menu_line_style = OptionMenu(top, self.current_line_style, | ||
*self.line_styles, command=self.dropdown_changed_line_style) | ||
self.dropdown_menu_line_style.pack(side='top', anchor='w') | ||
self.dropdown_menu_line_style.place(relx=0.78, rely=0.60, height=18, width=100) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The position of the drop down is a bit too down. Please move it up a little.
self.dropdown_menu_color.configure(fg=_fgcolorlight) | ||
self.dropdown_menu_color['menu'].configure(activebackground=_activebgcolordark) | ||
self.dropdown_menu_color['menu'].configure(background=_bgcolorlight) | ||
self.dropdown_menu_color['menu'].configure(fg=_fgcolorlight) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropdown does not change color on changing theme. Please look into this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, please look into my comments inline.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see my comments inline.
@djmgit Please review :)