Python Forum
[PySimpleGUI] New GUI Package. Customize with ease
Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PySimpleGUI] New GUI Package. Customize with ease
#5
(Aug-02-2018, 05:52 PM)Axel_Erfurt Wrote: It should be the other way around. Button gray and hover blue.

That's no problem. It's a single line of code to configure the defaults. If you want to change button default to that, then call:
sg.SetOptions(button_color=('blue', '#d0d0d0'))
You call it once and it retains the values for all the forms you create.

(Aug-02-2018, 06:16 PM)PySimpleGUI Wrote:
(Aug-02-2018, 05:52 PM)Axel_Erfurt Wrote: It should be the other way around. Button gray and hover blue.
That's no problem. It's a single line of code to configure the defaults. If you want to change button default to that, then call:
sg.SetOptions(button_color=('blue', '#d0d0d0')) 
You call it once and it retains the values for all the forms you create.

However, you're right too. The system default colors should be different than the blue buttons. I'll make a change so that the system default is a possible setting instead of forcing a button color.
Reply


Messages In This Thread
RE: [PySimpleGUI] New GUI Package. Customize with ease - by PySimpleGUI - Aug-02-2018, 06:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PySimpleGUI Try Except jamesaarr 1 1,991 Nov-18-2021, 02:02 PM
Last Post: jamesaarr
  [PySimpleGUI]Install package on Conda not up-to-date RayJohnson 4 4,555 Jan-22-2020, 11:17 PM
Last Post: RayJohnson

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020