Skip to content

CupertinoAlertDialog has blurry lines #43495

@ralph-bergmann

Description

@ralph-bergmann

The lines to separate the action buttons are blurry.

In cupertiono/dialog.dart the dividerThickness is callculated this way:

dividerThickness: _kDividerThickness / MediaQuery.of(context).devicePixelRatio

But do we need the devicePixelRatio to do so? When I just use dividerThickness: _kDividerThickness the lines are perfect.

On the left side, you can see the divider with dividerThickness: _kDividerThickness / MediaQuery.of(context).devicePixelRatio.
On the right side, you can see the divider with dividerThickness: _kDividerThickness.

Screen Shot 2019-10-25 at 11 38 54 png 2019-10-25 11-47-29

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: fidelityMatching the OEM platforms bettera: qualityA truly polished experienceengineflutter/engine related. See also e: labels.f: cupertinoflutter/packages/flutter/cupertino repositoryfound in release: 3.7Found to occur in 3.7found in release: 3.8Found to occur in 3.8frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onteam-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