Give glass control bars equal end and edge gaps
Inside a glass bar the first and last controls now keep the same gap from the pill's sides as from its top and bottom, from shared GlassBarMetrics (48/44 targets, 8 edge gap). Applies to the artifact viewer bar (hugs its actions without a pager), the chevron pagers (position text inset like an icon), and the chat composer's Cupertino Send/Stop (centred circle). Run 7 in the full-app probe now records change captures for diff captures.
This commit is contained in:
@@ -8,7 +8,7 @@ import 'package:flutter/services.dart';
|
||||
|
||||
import '../../../ui/navigation/chevron_pager.dart';
|
||||
import '../../../ui/adaptive/floating_bar_layout.dart';
|
||||
import '../../../ui/adaptive/glass_pill.dart';
|
||||
import '../../../ui/adaptive/glass_bar.dart';
|
||||
import '../domain/change_kind.dart';
|
||||
import '../domain/change_wording.dart';
|
||||
import '../domain/file_change.dart';
|
||||
@@ -315,7 +315,7 @@ class _FileDiffPageState extends State<FileDiffPage> {
|
||||
child: SafeArea(
|
||||
top: false,
|
||||
minimum: const EdgeInsets.all(8),
|
||||
child: GlassPill(cupertino: cupertino, child: pager),
|
||||
child: GlassControlBar(cupertino: cupertino, child: pager),
|
||||
),
|
||||
),
|
||||
child: viewer,
|
||||
|
||||
Reference in New Issue
Block a user