Skip to content

Commit

Permalink
Fix change port window size for Linux
Browse files Browse the repository at this point in the history
Increased the height of the change port window for Linux to fit the buttons properly.
  • Loading branch information
Lenochxd committed Dec 11, 2024
1 parent a8d00ec commit 0b744f6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/tray.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,11 @@ def close_prompt(event=None):

prompt_window = tk.Tk()
prompt_window.title(text('change_server_port'))
prompt_window.geometry("300x160")
if is_win:
prompt_window.geometry("300x160")
else:
prompt_window.geometry("300x220") # Increase height for Linux to fit the buttons

prompt_window.resizable(False, False)
if is_win:
prompt_window.iconbitmap("static/icons/icon_black.ico")
Expand Down

0 comments on commit 0b744f6

Please sign in to comment.