diff --git a/dronecan_gui_tool/widgets/bus_monitor/__init__.py b/dronecan_gui_tool/widgets/bus_monitor/__init__.py index 0bf1db2..221feef 100644 --- a/dronecan_gui_tool/widgets/bus_monitor/__init__.py +++ b/dronecan_gui_tool/widgets/bus_monitor/__init__.py @@ -56,6 +56,9 @@ def _process_entry_point(channel, iface_name): logger.info('Bus monitor process started with PID %r', os.getpid()) app = QApplication(sys.argv) # Inheriting args from the parent process + # Set the style for Qt6 to be same across systems + app.setStyle("Fusion") + def exit_if_should(): if RUNNING_ON_WINDOWS: return False diff --git a/dronecan_gui_tool/widgets/plotter/__init__.py b/dronecan_gui_tool/widgets/plotter/__init__.py index 1df2fda..c73db83 100644 --- a/dronecan_gui_tool/widgets/plotter/__init__.py +++ b/dronecan_gui_tool/widgets/plotter/__init__.py @@ -57,6 +57,9 @@ def _process_entry_point(channel): logger.info('Plotter process started with PID %r', os.getpid()) app = QApplication(sys.argv) # Inheriting args from the parent process + # Set the style for Qt6 to be same across systems + app.setStyle("Fusion") + def exit_if_should(): if RUNNING_ON_WINDOWS: return False