Terminal.Gui: TextView: Word Wrapping is not correct
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.";
The spaces at the beginning of the lines in the third sentence should not be there.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 27
Commits related to this issue
- Fixes #1820. TextView: Word Wrapping is not correct — committed to BDisp/Terminal.Gui by tig 2 years ago
@BDisp can you fix the merge issues in your private PR? I think you just need to merge from
developfirst.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: @.***>