New Custom Titlebar showing multiple color combinations
This commit is contained in:
parent
46ec413811
commit
4806dacf48
2 changed files with 161 additions and 10 deletions
|
@ -15,18 +15,19 @@ import PySimpleGUI as sg
|
|||
|
||||
|
||||
# If not running 4.28.0.4+ that has the DarkGrey8 theme, then uncomment to get it added.
|
||||
# DarkGrey8 = {'BACKGROUND': '#19232D',
|
||||
# 'TEXT': '#ffffff',
|
||||
# 'INPUT': '#32414B',
|
||||
# 'TEXT_INPUT': '#ffffff',
|
||||
# 'SCROLL': '#505F69',
|
||||
# 'BUTTON': ('#ffffff', '#32414B'),
|
||||
# 'PROGRESS': ('#505F69', '#32414B'),
|
||||
# 'BORDER': 1, 'SLIDER_DEPTH': 0, 'PROGRESS_DEPTH': 0,
|
||||
# }
|
||||
DarkGrey8 = {'BACKGROUND': '#19232D',
|
||||
'TEXT': '#ffffff',
|
||||
'INPUT': '#32414B',
|
||||
'TEXT_INPUT': '#ffffff',
|
||||
'SCROLL': '#505F69',
|
||||
'BUTTON': ('#ffffff', '#32414B'),
|
||||
'PROGRESS': ('#505F69', '#32414B'),
|
||||
'BORDER': 1, 'SLIDER_DEPTH': 0, 'PROGRESS_DEPTH': 0,
|
||||
}
|
||||
|
||||
# sg.theme_add_new('DarkGrey8', DarkGrey8)
|
||||
sg.theme_add_new('DarkGrey8', DarkGrey8)
|
||||
|
||||
sg.theme('DarkGrey8')
|
||||
|
||||
def dummy_minimized_window(title):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue