Joel Borjesson
Joel Borjesson

Reputation: 1

Only seeing one line of text in the textblock element when creating a windows phone app

I'm trying to create a windows phone app with lots of texts like this text here under, but it either gets chopped or gets only on 1 line. I have tried different solutions of scrollable textblock and etc but nothing seems to work. The text I want to post in the app is around 30000 characters long.

Upvotes: 0

Views: 334

Answers (2)

Joel Borjesson
Joel Borjesson

Reputation: 1

I created a RSS reader page within the wp application which solved my issue of text being chopped. My intent with this app was to integrate some info about my clients company.

Regards Joel

Upvotes: 0

Magnus Johansson
Magnus Johansson

Reputation: 28325

You have to set the TextWrapping property to wrap.

<TextBlock TextWrapping="Wrap"/>

Also make sure you don't constrain the TextBlock in terms of height.

Upvotes: 3

Related Questions