Removed the no_scrollbar parm
This commit is contained in:
parent
7114bc00ad
commit
e30c80e9f9
|
@ -62,7 +62,7 @@ def main():
|
||||||
layout = [
|
layout = [
|
||||||
# [sg.Menu(menu_def, tearoff=False, key='-MENU BAR-')], # This is how a Menu is normally defined
|
# [sg.Menu(menu_def, tearoff=False, key='-MENU BAR-')], # This is how a Menu is normally defined
|
||||||
[Menubar(menu_def, sg.theme_button_color()[1], sg.theme_button_color()[0], (5, 0))],
|
[Menubar(menu_def, sg.theme_button_color()[1], sg.theme_button_color()[0], (5, 0))],
|
||||||
[sg.Multiline(size=(70, 20), no_scrollbar=True, reroute_stdout=True, reroute_cprint=True, write_only=True)],
|
[sg.Multiline(size=(70, 20), reroute_stdout=True, reroute_cprint=True, write_only=True)],
|
||||||
]
|
]
|
||||||
|
|
||||||
window = sg.Window("Custom Titlebar with Custom (Simulated) Menubar", layout, use_custom_titlebar=True)
|
window = sg.Window("Custom Titlebar with Custom (Simulated) Menubar", layout, use_custom_titlebar=True)
|
||||||
|
|
Loading…
Reference in New Issue