Skip to content

Desktop needs higher density layouts #43350

Closed

Description

@gspencergoog

For implementing desktop UIs, higher density layouts are necessary. Layouts meant for touch devices are much larger/looser in their layout than desktop layouts want to be, by virtue of having a much smaller pointer size (mouse pointers are more accurate than fingers).

We need to develop an API for setting vertical and horizontal density of our Material and Cupertino controls, in a way that is backward compatible and easy to set up. It should default to the existing layout density on mobile, and to a much tighter density on desktop platforms.

Implementation of the automatic setting of this mode is predicated on the existence of a way to determine which platform is being targeted, so it depends up on #31366

Activity

  1. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    p: material_uimaterial_ui package in flutter/packages
    on Oct 23, 2019
  2. gspencergoog commented on Dec 4, 2019

    @gspencergoog
    ContributorAuthor

    Initial support landed for buttons in #43547

  3. gspencergoog commented on Dec 18, 2019

    @gspencergoog
    ContributorAuthor

    Support for checkboxes, switches, radios, and chips landed in #46091

    The things that are still missing are text fields and list views.

  4. gspencergoog commented on Mar 5, 2020

    @gspencergoog
    ContributorAuthor

    Down to just list views (mostly list tiles).

  5. gspencergoog commented on May 13, 2020

    @gspencergoog
    ContributorAuthor

    Closing, please file separate issues if a component needs support added.

  6. github-actions commented on Aug 21, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  7. locked as resolved and limited conversation to collaborators on Aug 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: desktopRunning on desktopframeworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packages

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions