Skip to content

Letterspacing is too tight on Cupertino Dialog title #139434

@mark8044

Description

@mark8044

Is there an existing issue for this?

Steps to reproduce

When using standard framework dialog boxes, the title has letter spacing that has now become too tight after the recent update to iOS fonts in master branch

This can be overcome by widening it in the Text widget, but its not correct at default when no letter spacing is applied. The problem is glaring when you compare the title text to the message text

@MitchellGoodwin
I know you are now working on the fontWeight issue mentioned #137275. So as to not confuse the situation, I figured I would make a new issue here for letter spacing issue that has cropped up after the iOS font changes were rolled into master branch last week.

Code sample and screen shot are below
Screen Shot 2023-12-02 at 5 08 35 PM

Expected results

Correct letter spacing

Actual results

Too tight letter spacing

Code sample

Code sample
                              result = await showAdaptiveDialog<bool>(
                                context: context,
                                builder: (context) {
                                  return AlertDialog.adaptive(
                                    title: const Text('Are you sure?'),
                                    content: const Text('Ready to submit?'),
                                    actions: [
                                      TextButton(
                                        onPressed: () => Navigator.of(context).pop(true),
                                        child: const Text('No'),
                                      ),
                                      TextButton(
                                        onPressed: () => Navigator.of(context).pop(true),
                                        child: const Text('Yes'),
                                      ),
                                    ],
                                  );
                                },
                              );

Screenshots or Video

Screenshots / Video demonstration

Screen Shot 2023-12-02 at 5 08 35 PM

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
Framework • revision d861ce496c (12 hours ago) • 2023-12-02 08:02:27 -0500
Engine • revision cfabe42bc0
Tools • Dart 3.3.0 (build 3.3.0-182.0.dev) • DevTools 2.30.0

Metadata

Metadata

Labels

Bot is counting down the days until it unassigns the issueP2Important issues not at the top of the work listf: cupertinoflutter/packages/flutter/cupertino repositoryfound in release: 3.18Found to occur in 3.18frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions