diff --git a/app/lib/ui/widgets/drone_follow_icon.dart b/app/lib/ui/widgets/drone_follow_icon.dart index 4b9e843..9415aa5 100644 --- a/app/lib/ui/widgets/drone_follow_icon.dart +++ b/app/lib/ui/widgets/drone_follow_icon.dart @@ -13,7 +13,7 @@ class DroneFollowIcon extends StatelessWidget { @override Widget build(BuildContext context) { - // NavIconButton zwingt seinem Kind straffe 34x34-Constraints auf - ohne + // NavIconButton zwingt seinem Kind straffe 38x38-Constraints auf - ohne // Center/SizedBox wuerde CustomPaint sein size-Argument ignorieren und // auf die volle Knopfgroesse aufgeblasen (RenderCustomPaint hat anders // als Icon kein eingebautes Center, das die Constraints fuer sein Kind diff --git a/app/lib/ui/widgets/header_wind_pill.dart b/app/lib/ui/widgets/header_wind_pill.dart index 8cd9faf..17be0a8 100644 --- a/app/lib/ui/widgets/header_wind_pill.dart +++ b/app/lib/ui/widgets/header_wind_pill.dart @@ -19,13 +19,17 @@ class HeaderWindPill extends ConsumerWidget { return GestureDetector( onTap: () => ref.read(headerWindProvider.notifier).toggleShowPerWaypoint(), child: Container( - height: 34, + // 38 statt vorher 34 (Nutzerwunsch: Kopfleisten-Pillen/-Buttons + // einheitlich auf die im HTML-Demonstrator vermessene Hoehe bringen, + // siehe TopModeBar-Klassendoku) - deckungsgleich mit FlightModePill, + // das schon immer 38 nutzte. + height: 38, padding: const EdgeInsets.symmetric(horizontal: 10), decoration: BoxDecoration( color: active ? const Color(0xFF4D9DFF).withValues(alpha: 0.32) : Colors.black.withValues(alpha: 0.55), - borderRadius: BorderRadius.circular(17), + borderRadius: BorderRadius.circular(19), border: Border.all( color: active ? const Color(0xFF4D9DFF) diff --git a/app/lib/ui/widgets/map_search_controls.dart b/app/lib/ui/widgets/map_search_controls.dart index c374160..40cfb51 100644 --- a/app/lib/ui/widgets/map_search_controls.dart +++ b/app/lib/ui/widgets/map_search_controls.dart @@ -89,11 +89,14 @@ class _MapSearchControlsState extends ConsumerState { children: [ Expanded( child: Container( - height: 34, + // 38 statt vorher 34, deckungsgleich mit HeaderWindPill/ + // FlightModePill/NavIconButton (Nutzerwunsch: einheitliche + // Kopfleisten-Hoehe wie im HTML-Demonstrator vermessen). + height: 38, padding: const EdgeInsets.only(left: 12, right: 4), decoration: BoxDecoration( color: Colors.black.withValues(alpha: 0.55), - borderRadius: BorderRadius.circular(17), + borderRadius: BorderRadius.circular(19), ), child: Row( children: [ diff --git a/app/lib/ui/widgets/nav_icon_button.dart b/app/lib/ui/widgets/nav_icon_button.dart index 61c80c6..980869f 100644 --- a/app/lib/ui/widgets/nav_icon_button.dart +++ b/app/lib/ui/widgets/nav_icon_button.dart @@ -28,8 +28,12 @@ class NavIconButton extends StatelessWidget { return GestureDetector( onTap: onTap, child: Container( - width: 34, - height: 34, + // 38 statt vorher 34, deckungsgleich mit HeaderWindPill/ + // MapSearchControls/FlightModePill (Nutzerwunsch: einheitliche + // Kopfleisten-Hoehe wie im HTML-Demonstrator vermessen: #homeBtn/ + // #fitBtn nutzen dort ebenfalls width/height:38px). + width: 38, + height: 38, decoration: BoxDecoration( shape: BoxShape.circle, color: Colors.black.withValues(alpha: 0.55),