decreased window size. Now it fits small screen well
This commit is contained in:
6
main.py
6
main.py
@ -333,7 +333,8 @@ class DataAnalyzerApp:
|
||||
def __init__(self, root):
|
||||
self.root = root
|
||||
self.root.title("Radar Data Analyzer (Time Synchronized - Queue Based)")
|
||||
self.root.geometry("1500x850")
|
||||
# Уменьшено, чтобы помещалось на экране 1024x768
|
||||
self.root.geometry("1000x720")
|
||||
|
||||
self.data_dir = data_dir
|
||||
os.makedirs(self.data_dir, exist_ok=True)
|
||||
@ -438,7 +439,8 @@ class DataAnalyzerApp:
|
||||
fig_frame = ttk.Frame(self.left_frame)
|
||||
fig_frame.pack(fill='both', expand=True, padx=3, pady=3)
|
||||
|
||||
self.fig = plt.Figure(figsize=(9, 6.5), dpi=100)
|
||||
# Уменьшен стартовый размер фигуры, чтобы влезать в 1000x720
|
||||
self.fig = plt.Figure(figsize=(7.5, 6.0), dpi=100)
|
||||
gs = self.fig.add_gridspec(2, 2, hspace=0.4, wspace=0.35)
|
||||
|
||||
self.ax_raw = self.fig.add_subplot(gs[0, 0])
|
||||
|
||||
Reference in New Issue
Block a user