Merge pull request #2554 from PySimpleGUI/Dev-latest
Checked for autoscroll
This commit is contained in:
		
						commit
						3695584920
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -1026,6 +1026,7 @@ class Multiline(Element): | ||||||
|             if background_color_for_value is not None: |             if background_color_for_value is not None: | ||||||
|                 self.QT_TextEdit.setTextBackgroundColor(background_color_for_value) |                 self.QT_TextEdit.setTextBackgroundColor(background_color_for_value) | ||||||
|             self.QT_TextEdit.insertPlainText(str(value)) |             self.QT_TextEdit.insertPlainText(str(value)) | ||||||
|  |             if self.Autoscroll: | ||||||
|                 self.QT_TextEdit.moveCursor(QtGui.QTextCursor.End) |                 self.QT_TextEdit.moveCursor(QtGui.QTextCursor.End) | ||||||
|             if text_color_for_value is not None: |             if text_color_for_value is not None: | ||||||
|                 self.QT_TextEdit.setTextColor(self.TextColor) |                 self.QT_TextEdit.setTextColor(self.TextColor) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue