From 7e670b5dea5829b17f475665fc82b71cdcee464e Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy Date: Sat, 25 May 2019 15:51:55 -0400 Subject: [PATCH] Release 3.33 --- PySimpleGUI27.py | 7 ++----- docs/index.md | 11 ++++++----- readme.md | 11 ++++++----- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/PySimpleGUI27.py b/PySimpleGUI27.py index 16268e24..2b337cf1 100644 --- a/PySimpleGUI27.py +++ b/PySimpleGUI27.py @@ -5627,7 +5627,8 @@ def PackFormIntoFrame(form, containing_frame, toplevel_form): bd=border_depth) else: element.tktext_label = element.Widget = tk.Label(tk_row_frame, width=width, height=height, bd=border_depth) - if element.BackgroundColor is not None: + + if not element.BackgroundColor in (None, COLOR_SYSTEM_DEFAULT): element.tktext_label.config(background=element.BackgroundColor) element.tktext_label.image = photo @@ -8148,10 +8149,6 @@ def main(): [Listbox(['Listbox 1', 'Listbox 2', 'Listbox 3'], size=(20, 5))], [Combo(['Combo item 1', ], size=(20, 3), text_color='red', background_color='red')], [Combo(['Combo item 1', ], size=(20, 3), text_color='red', background_color='red')], - [Combo(['Combo item 1', ], size=(20, 3), text_color='red', background_color='red')], - [Combo(['Combo item 1', ], size=(20, 3), text_color='red', background_color='red')], - [Combo(['Combo item 1', ], size=(20, 3), text_color='red', background_color='red')], - [Combo(['Combo item 1', ], size=(20, 3), text_color='red', background_color='red')], [Spin([1, 2, 3], size=(4, 3))], ] diff --git a/docs/index.md b/docs/index.md index 2f091c22..2dcbb862 100644 --- a/docs/index.md +++ b/docs/index.md @@ -33,9 +33,9 @@ -![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_3.x_Version-3.32.0-red.svg?longCache=true&style=for-the-badge) +![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_3.x_Version-3.33.0-red.svg?longCache=true&style=for-the-badge) -![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_2.7_Version-1.32.0-blue.svg?longCache=true&style=for-the-badge) +![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_2.7_Version-1.33.0-blue.svg?longCache=true&style=for-the-badge) ![Python Version](https://img.shields.io/badge/PySimpleGUIQt_Version-0.31.0-orange.svg?longCache=true&style=for-the-badge) @@ -4934,14 +4934,13 @@ Mixup.... 3.26 changes don't appear to have been correctly released so releasing * New method for `Graph` - `RelocateFigure` * Output Element no longer accepts focus -## 3.30.0 PySimpleGUI 24-May-2019 +## 3.32.0 PySimpleGUI 24-May-2019 * Rework of ALLL Tooltips. Was always displaying at uttuper left part of element. Not displays closer to where mouse entered or edited * New Element.Widget base class variable. Brings tkinter into the newer architecture of user accessibility to underlying GUI Frameworks' widgets * New SetTooltip Element method. Means all Elements gain this method. Can set the tooltip on the fly now for all elements * Include scroll bar when making visible / invisible Listbox Elements -* New Radio Element method - `Radio.ResetGroup()` sets all elements in the Radio Group to False -* Added borderwidth to Multiline Element +* New Radio Element method - `Radio.ResetGroup()` sets all elements in the Radio Group to False* Added borderwidth to Multiline Element * `Button.Click()` - new method - Generates a button click even as if a user clicked a button (at the tkinter level) * Made a Graph.Images dictionary to keep track of images being used in a graph. When graph is deleted, all of the accociated images should be deleted too.' * Added `Graph.SetFocus()` to give a Graph Element the focus just as you can input elements @@ -4963,7 +4962,9 @@ Mixup.... 3.26 changes don't appear to have been correctly released so releasing * PopupAnimated finally gets a completely transparent background +## 3.33.0 and 1.33 PySimpleGUI 25-May-2019 +* Emergency fix due to debugger. Old bug was that Image Element was not testing for COLOR_SYSTEM_DEFAULT correctly. ### Upcoming Make suggestions people! Future release features diff --git a/readme.md b/readme.md index 2f091c22..2dcbb862 100644 --- a/readme.md +++ b/readme.md @@ -33,9 +33,9 @@ -![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_3.x_Version-3.32.0-red.svg?longCache=true&style=for-the-badge) +![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_3.x_Version-3.33.0-red.svg?longCache=true&style=for-the-badge) -![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_2.7_Version-1.32.0-blue.svg?longCache=true&style=for-the-badge) +![Python Version](https://img.shields.io/badge/PySimpleGUI_For_Python_2.7_Version-1.33.0-blue.svg?longCache=true&style=for-the-badge) ![Python Version](https://img.shields.io/badge/PySimpleGUIQt_Version-0.31.0-orange.svg?longCache=true&style=for-the-badge) @@ -4934,14 +4934,13 @@ Mixup.... 3.26 changes don't appear to have been correctly released so releasing * New method for `Graph` - `RelocateFigure` * Output Element no longer accepts focus -## 3.30.0 PySimpleGUI 24-May-2019 +## 3.32.0 PySimpleGUI 24-May-2019 * Rework of ALLL Tooltips. Was always displaying at uttuper left part of element. Not displays closer to where mouse entered or edited * New Element.Widget base class variable. Brings tkinter into the newer architecture of user accessibility to underlying GUI Frameworks' widgets * New SetTooltip Element method. Means all Elements gain this method. Can set the tooltip on the fly now for all elements * Include scroll bar when making visible / invisible Listbox Elements -* New Radio Element method - `Radio.ResetGroup()` sets all elements in the Radio Group to False -* Added borderwidth to Multiline Element +* New Radio Element method - `Radio.ResetGroup()` sets all elements in the Radio Group to False* Added borderwidth to Multiline Element * `Button.Click()` - new method - Generates a button click even as if a user clicked a button (at the tkinter level) * Made a Graph.Images dictionary to keep track of images being used in a graph. When graph is deleted, all of the accociated images should be deleted too.' * Added `Graph.SetFocus()` to give a Graph Element the focus just as you can input elements @@ -4963,7 +4962,9 @@ Mixup.... 3.26 changes don't appear to have been correctly released so releasing * PopupAnimated finally gets a completely transparent background +## 3.33.0 and 1.33 PySimpleGUI 25-May-2019 +* Emergency fix due to debugger. Old bug was that Image Element was not testing for COLOR_SYSTEM_DEFAULT correctly. ### Upcoming Make suggestions people! Future release features