Display large amounts of text that scrolls

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

I need to display several word documents within my application keeping the formatting as much as possible. I currently have taken the text of of my document and pasted it within a kony label and also tried a text Area component without much luck.

How can I display (NOT EDIT) a large amount of display text that SCROLLS within the flex container or at least display some sort of scroll bar. This seems about as basic as it comes but can't seem to find the right control or method to accomplish this.

@Stephvnie Avewy​

To achieve your requirement, use Flex Scroll Container with static height. For example, if you want the scroll should be within the 10% of the device height then set the Flex Scroll Container height as 10%. Inside the Flex Scroll Container, place the label or RichText widget with preferred height. Now the large text will scroll with in the 10% of the Flex Scroll Container height.

Thank you Shaik, but I'm not sure that I understand completely.

This is my current layout that is not working.

My From

Flex Scroll Container

Text Area component

The Flex Scroll Container is set with a height of 90% , width 100%

The text Area component is set to height of 100% , width 100% . The text component is within the flex Scroll container.

I must be setting something incorrectly.

Thank you.

@Stephvnie Avewy​

The large text which you want to present on the form, is it editable text for the end user. Use TextArea when you want to enter or edit the text. Or else use Label or RichText widget with preferred height.

In your case, the flex scroll container height is 90% and the TextArea height is 100% which is nothing but equivalent of it's parent. Use preferred height for TextArea and check the behaviour.

Shaik,

You rock ! Thank you very much that worked !