question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TextView: Word Wrapping is not correct

See original GitHub issue

var tv = new TextView();
tv.WordWrap = true;
tv.ReadOnly = true;
tv.Text = "This is the help text for the Second Step.\n\nPress the button demo changing the Title.\n\nIf First Name is empty the step will prevent moving to the next step.";
image

The spaces at the beginning of the lines in the third sentence should not be there.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:27

github_iconTop GitHub Comments

1reaction
tigcommented, Jul 25, 2022

@BDisp can you fix the merge issues in your private PR? I think you just need to merge from develop first.

1reaction
tigcommented, Jul 23, 2022

Yes, you are right. But the fix should go in Dialog.

-cek Sent via mobile. Expect brevity, typos, and dangerous driving.


From: BDisp @.> Sent: Saturday, July 23, 2022 7:51:57 AM To: migueldeicaza/gui.cs @.> Cc: Charlie Kindel @.) @.>; Mention @.***> Subject: Re: [migueldeicaza/gui.cs] TextView: Word Wrapping is not correct (Issue #1820)

That’s not the TextView, that’s the fact the Wizard is modal and is not resizing. Dialog does this too.

I know that’s not the TextView. I was referring the Wizard might use a Dim.Percent(value) to accommodate as possible the views in a lower spacing on resizing.

— Reply to this email directly, view it on GitHubhttps://github.com/migueldeicaza/gui.cs/issues/1820#issuecomment-1193129120, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAEO6CXRKQOKDYWFKJEQDADVVP2H3ANCNFSM5Y5B65UQ. You are receiving this because you were mentioned.Message ID: @.***>

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android TextView Text not getting wrapped
Can anyone tell me what's going wrong with the text? Text longer than one line doesn't wrap to the next line but goes...
Read more >
My text doesn't fit in the textbox (Example) - Android
Arnas Misevicius is having issues with: My text just cuts out ... it's like the text will not word wrap automatically as shown...
Read more >
Disable Line Wrapping in UITextView ...
It seems like all that is required, is setting the size of the text container to be sufficiently wide but this is also...
Read more >
How to wrap text in textview in Android - YouTube
Android : How to wrap text in textview in Android [ Beautify Your ... Disclaimer: All information is provided as it is with...
Read more >
Idea: Word Wrap in Extracted Text View
Normally, this is not that big of a deal, but we are currently working with a large set of documents whose only option...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found