Skip to content

Commit cdd802e

Browse files
committed
Fixed Multline.get, MultilineOutput.get
1 parent ba10e1d commit cdd802e

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

PySimpleGUIQt/PySimpleGUIQt.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/python3
2-
version = __version__ = "0.34.0.1 Unreleased - Added element_justification parm to Column Frame Tab Window"
2+
version = __version__ = "0.34.0.2 Unreleased - Added element_justification parm to Column Frame Tab Window, fix for Multiline.get, MultilineOutput.get"
33

44
port = 'PySimpleGUIQt'
55

@@ -1064,7 +1064,7 @@ def Update(self, value=None, disabled=None, append=False, autoscroll=False, back
10641064

10651065

10661066
def Get(self):
1067-
self.QT_TextEdit.toPlainText()
1067+
return self.QT_TextEdit.toPlainText()
10681068

10691069
def SetFocus(self):
10701070
self.QT_TextEdit.setFocus()
@@ -1148,7 +1148,7 @@ def Update(self, value=None, disabled=None, append=False, autoscroll=None, backg
11481148

11491149

11501150
def Get(self):
1151-
self.QT_TextBrowser.toPlainText()
1151+
return self.QT_TextBrowser.toPlainText()
11521152

11531153

11541154
def print(self, *args, end=None, sep=None, text_color=None, background_color=None, autoscroll=True):
@@ -3176,11 +3176,7 @@ class Window:
31763176
active_popups = {}
31773177

31783178
def __init__(self, title, layout=None, default_element_size=DEFAULT_ELEMENT_SIZE, default_button_element_size=(None, None),
3179-
auto_size_text=None, auto_size_buttons=None, location=(None, None), size=(None, None), element_padding=None, button_color=None, font=None,
3180-
progress_bar_color=(None, None), background_color=None, border_depth=None, auto_close=False,
3181-
auto_close_duration=DEFAULT_AUTOCLOSE_TIME, icon=DEFAULT_WINDOW_ICON, force_toplevel=False,
3182-
alpha_channel=1, return_keyboard_events=False, use_default_focus=True, text_justification=None,
3183-
element_justification='float', no_titlebar=False, grab_anywhere=False, keep_on_top=False, resizable=True, disable_close=False, disable_minimize=False, background_image=None, finalize=False, metadata=None):
3179+
auto_size_text=None, auto_size_buttons=None, location=(None, None), size=(None, None), element_padding=None, button_color=None, font=None, progress_bar_color=(None, None), background_color=None, border_depth=None, auto_close=False, auto_close_duration=DEFAULT_AUTOCLOSE_TIME, icon=DEFAULT_WINDOW_ICON, force_toplevel=False, alpha_channel=1, return_keyboard_events=False, use_default_focus=True, text_justification=None, element_justification='float', no_titlebar=False, grab_anywhere=False, keep_on_top=False, resizable=True, disable_close=False, disable_minimize=False, background_image=None, finalize=False, metadata=None):
31843180
'''
31853181
31863182
:param title:
@@ -4874,6 +4870,10 @@ def PackFormIntoFrame(container_elem, containing_frame, toplevel_win):
48744870
style = style_entry(background_color=element.BackgroundColor)
48754871
# style += 'background-color: %s;' % element.BackgroundColor
48764872
style += style_entry(border='0px solid gray')
4873+
# style += style_entry(margin='{}px {}px {}px {}px'.format(*full_element_pad))
4874+
# style += style_entry(margin='0px 0px 0px 0px')
4875+
# style += 'margin: {}px {}px {}px {}px;'.format(*full_element_pad)
4876+
48774877
# style += 'border: 0px solid gray; '
48784878
style = style_generate('QGroupBox', style)
48794879
column_widget.setStyleSheet(style)

0 commit comments

Comments
 (0)