Skip to content

Single-character wrapping in title bar for swipe-to-dismiss demo on iPhone 5 #6450

Closed

Description

@eseidelGoogle

I would expect either the whole word to wrap, or probably better to have it change phone size or ellipsize. We probably want some standardized titlebar behavior here.

img_0003

Activity

  1. added
    customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.
    on Oct 21, 2016
  2. abarth commented on Oct 21, 2016

    @abarth
    Contributor

    We need to add a text overflow effect to app bar

  3. self-assigned this
    on Oct 21, 2016
  4. HansMuller commented on Oct 21, 2016

    @HansMuller
    Contributor

    I'll do that now. Should be a quick fix.

  5. HansMuller commented on Oct 21, 2016

    @HansMuller
    Contributor

    OK, this is not a quick fix. We're already turning on the ellipsis for toolbar titles (including this one).

    On Android, with AppBar centerTitle:true, and 'Swipe items to dismissssssss' as the app's title, all is well:

    screenshot

  6. HansMuller commented on Oct 21, 2016

    @HansMuller
    Contributor

    AHA! We have hit a corner case here. Changing the title of the LeaveBehindDemo (examples/flutter_gallery/lib/demo/leave_behind_demo.dart) to 'Swipe items to dismmmiss' and setting centerTitle: true for its AppBar, causes a linebreak to be inserted before the final 's' . Adding an additional 'm' to 'dismmmiss' restores normal ellipsis behavior.

  7. HansMuller commented on Oct 21, 2016

    @HansMuller
    Contributor

    Will ask @jason-simmons to take a look.

  8. removed their assignment
    on Oct 21, 2016
  9. HansMuller commented on Oct 21, 2016

    @HansMuller
    Contributor

    #6448 is probably a duplicate of this issue.

  10. jason-simmons commented on Oct 26, 2016

    @jason-simmons
    Member

    This should be fixed now

  11. github-actions commented on Sep 5, 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.

  12. locked as resolved and limited conversation to collaborators on Sep 5, 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

    customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.e: device-specificOnly manifests on certain devices

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions