From 7601cf3a2218c0e30c60ca66e66a669a31c2d14e Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Sat, 15 Mar 2025 00:03:38 +0100 Subject: [PATCH] Cleanup --- lib/main.dart | 9 --------- windows/runner/main.cpp | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 7045a2b..414be00 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -349,10 +349,6 @@ class _MyHomePageState extends State { child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ - Text( - 'Time Elapsed:', - style: Theme.of(context).textTheme.headlineSmall, - ), const SizedBox(height: 10), // Use a fixed height container to prevent expanding and force horizontal scrolling if needed SizedBox( @@ -389,11 +385,6 @@ class _MyHomePageState extends State { ), ], ), - const SizedBox(height: 10), - Text( - 'Keyboard: SPACE for Start/Lap, ENTER for Pause/Stop', - style: Theme.of(context).textTheme.bodySmall, - ), const SizedBox(height: 20), if (_laps.isNotEmpty) ...[ Text( diff --git a/windows/runner/main.cpp b/windows/runner/main.cpp index 40134cb..4f4bdc0 100644 --- a/windows/runner/main.cpp +++ b/windows/runner/main.cpp @@ -25,7 +25,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, project.set_dart_entrypoint_arguments(std::move(command_line_arguments)); FlutterWindow window(project); - Win32Window::Size size(720, 640); + Win32Window::Size size(800, 800); Win32Window::Point origin((GetSystemMetrics(SM_CXSCREEN) - size.width) / 2, (GetSystemMetrics(SM_CYSCREEN) - size.height) / 2); if (!window.Create(L"Just a timer", origin, size)) {