Skip to content
Snippets Groups Projects
Commit 7139af3a authored by Abdallah Toumji's avatar Abdallah Toumji
Browse files

Resolved a problem for linux users

parent f04528f6
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@ Methods:
"""
import tkinter as tk
import platform
from BIDSHandler.MainApplication import Application as MainApplication
......@@ -32,7 +33,11 @@ class BIDSViewer:
""" The constructor of the class, it instantiates the main window of the application.
"""
root = tk.Tk()
if platform.system() == 'Windows':
root.state('zoomed')
else:
root.attributes('-zoomed', True)
root.title('BIDS Handler')
self.app = MainApplication(root)
def show(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment