8000 how about add TextOverflow middle in Text widget ? · Issue #47938 · flutter/flutter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

how about add TextOverflow middle in Text widget ? #47938

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
badboy-tian opened this issue Dec 29, 2019 · 2 comments
Closed

how about add TextOverflow middle in Text widget ? #47938

badboy-tian opened this issue Dec 29, 2019 · 2 comments
Labels
a: typography Text rendering, possibly libtxt

Comments

@badboy-tian
Copy link
<TextView
                    android:layout_marginRight="30pt"
                    android:singleLine="true"
                    android:ellipsize="middle"
                    android:id="@+id/tvCommentTime"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="15pt"
                    android:text="1天前"
                    android:textColor="@color/gray_9a999b"
                    android:textSize="35pt" />

in android, we use ellipsize middle, how to do with flutter ?

@VladyslavBondarenko VladyslavBondarenko added a: typography Text rendering, possibly libtxt documentation labels Dec 30, 2019
@VladyslavBondarenko
Copy link
VladyslavBondarenko commented Dec 30, 2019

Hi @ianloic
I see there's an issue addressing the case you described.
Please follow up on that issue,
I'm closing the current one as duplicate.
If you disagree please write in the comments
and I will reopen it.
Thank you

@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: typography Text rendering, possibly libtxt
Projects
None yet
Development

No branches or pull requests

2 participants
0