question

EmonHaque-1485 avatar image
0 Votes"
EmonHaque-1485 asked EmonHaque-1485 commented

How to wrap TextBlocks in WrapPanel?

Here in my first 3 Ledger views, I've added EditText to filter Particulars column. In the Particulars column, there're two HiBlock, the black part is particulars and the gray part in narration, with TextWrapping.Wrap inside a WrapPanel BUT these don't wrap properly:

105077-test.gif

those Rent. Gas, Water, etc. are on second line! Why does the gray narration, November, 2020, on first line? How to wrap it properly?

windows-wpf
test.gif (508.2 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@EmonHaque-1485
I added two HiBlock in XAML, they wrap well. Could you show me a more code for me to make a demo to reproduce the error?

0 Votes 0 ·

@DaisyTian-MSFT, I used those in the LedgerTemplate. Now it's not an issue since I've replaced those with Run. Right now the issue is this.

0 Votes 0 ·

0 Answers