Skip to content

Commit

Permalink
IMPROVEMENT: Make window titles more compact
Browse files Browse the repository at this point in the history
  • Loading branch information
amilcarlucas committed May 31, 2024
1 parent 16ff702 commit e7c0430
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def __init__(self, version, local_filesystem: LocalFilesystem=None):
super().__init__()
self.local_filesystem = local_filesystem

self.root.title("Amilcar Lucas's - ArduPilot methodic configurator - " + version + " - Vehicle Component Editor")
self.root.title("Amilcar Lucas's - ArduPilot methodic configurator " + version + " - Vehicle Component Editor")
self.root.geometry("880x600") # Set the window width

self.data = local_filesystem.load_vehicle_components_json_data(local_filesystem.vehicle_dir)
Expand Down
4 changes: 3 additions & 1 deletion MethodicConfigurator/frontend_tkinter_directory_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
from tkinter import ttk
from tkinter import filedialog

from version import VERSION

from MethodicConfigurator.common_arguments import add_common_arguments_and_parse

from MethodicConfigurator.backend_filesystem import LocalFilesystem
Expand Down Expand Up @@ -185,7 +187,7 @@ class VehicleDirectorySelectionWindow(BaseWindow):
def __init__(self, local_filesystem: LocalFilesystem):
super().__init__()
self.local_filesystem = local_filesystem
self.root.title("Select Vehicle directory")
self.root.title("Amilcar Lucas's - ArduPilot methodic configurator " + VERSION + " - Select Vehicle directory")
self.root.geometry("800x535") # Set the window size

# Explain why we are here
Expand Down
2 changes: 1 addition & 1 deletion MethodicConfigurator/frontend_tkinter_parameter_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def __init__(self, current_file: str, flight_controller: FlightController,
self.param_download_progress_window = None
self.tempcal_imu_progress_window = None

self.root.title("Amilcar Lucas's - ArduPilot methodic configurator - " + version + \
self.root.title("Amilcar Lucas's - ArduPilot methodic configurator " + version + \
" - Parameter file editor and uploader")
self.root.geometry("900x500") # Set the window width

Expand Down

0 comments on commit e7c0430

Please sign in to comment.