Row with label and word wrap

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Row with label and word wrap

Post by atostaine »

VL-WEB.

I have a label in a row, I set the caption to some text. Typically there are 800 characters or more.

I set the layout for the label to center, content height fit to width. I want the text to go wider on desktop screens. I also set the row to content.

My row or label height isn't enough so my text is cut off. I'm testing with chrome emulating an iphone 6 plus, the behavior is the same on my phone. Here you can see an example:
obit.png
obit.png (80.84 KiB) Viewed 7253 times
Each obituary is a tree item, so I have the parent web page that contains my RP also set to content height/fit to width.

Thanks for any suggestions.
Art Tostaine
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Re: Row with label and word wrap

Post by atostaine »

I think my problem is that my tree item needs to get taller based on the content. I set my tree item height taller and the obituary is showing OK.

Is there a way to do that automatically?
obit2.jpg
obit2.jpg (119.54 KiB) Viewed 7249 times
Art Tostaine
User avatar
Stewart Marshall
Posts: 417
Joined: Thu Nov 05, 2015 5:25 pm

Re: Row with label and word wrap

Post by Stewart Marshall »

Hi Art

To make the whole item resize to the content, you need to set the Sizing for the Layout used on your design reusable part to ContentHeight. This is available on the layout sheet of the ribbon.

Regards
Stewart Marshall

Independent IT Consultant
www.marshallfloyd.com.au
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Re: Row with label and word wrap

Post by atostaine »

Well heck. I thought that thing was greyed out! Thanks
Art Tostaine
Post Reply