Skip to content

Commit

Permalink
image size fix, bigger gadgets bar
Browse files Browse the repository at this point in the history
  • Loading branch information
DhruvaSambrani committed Mar 27, 2022
1 parent 41b34ed commit 1f9a747
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tetra/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def play_media(media_path):
media_type, file_path = media_path.split("::")
if media_type == "image":
image = Image.open(file_path)
image.thumbnail((400, 400))
image.thumbnail((1400, 1400))
bio = io.BytesIO()
image.save(bio, format="PNG")
w = sg.Window("Media", layout=[[sg.Image(bio.getvalue())], [sg.Button("Close", expand_x=True)]], modal=True, keep_on_top=True, finalize=True)
Expand Down
2 changes: 1 addition & 1 deletion tetra/terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def make_layout(self):
title="Gadgets",
layout=glayout,
expand_y=True,
size=(200, 200),
size=(400, 400),
element_justification="center"),
],
[sg.ProgressBar(100, orientation='h', size=(30, 20), bar_color = ("#939393", "#4D4D4D"), key='progressbar', pad = (90, 5)),
Expand Down

0 comments on commit 1f9a747

Please sign in to comment.