Merge pull request #199 from MikeTheWatchGuy/Dev-latest

Bug fix in image update
This commit is contained in:
MikeTheWatchGuy 2018-09-11 12:17:05 -04:00 committed by GitHub
commit 93f8b81a29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -1057,10 +1057,9 @@ class Image(Element):
else:
image = data
else: return
# width, height = image.width(), image.height()
# width, height = image.width(), image.height()
# self.tktext_label.configure(image=image, width=width, height=height)
self.tktext_label.configure(image=image)
width, height = image.width(), image.height()
self.tktext_label.configure(image=image, width=width, height=height)
# self.tktext_label.configure(image=image)
self.tktext_label.image = image
def __del__(self):