IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#57782 - 12/03/20 03:08 AM Data field won't wrap in text box
Louise Offline
OL Newbie

Registered: 12/03/20
Posts: 2
I have a data field in a text box which is longer than the width of the box. When I'm in the editor it shows as wrapping round properly, but when I view it on the live page it just carries on in one line off the edge of the page.

Is there any way to fix this?

Thanks in advance.

Top
#57783 - 12/03/20 08:41 AM Re: Data field won't wrap in text box [Re: Louise]
Jean-Cédric Offline
OL Expert

Registered: 10/03/16
Posts: 681
Loc: Québec, Canada
Are there any spaces in the text of that field?
_________________________
♪♫♪♫
99 frigging bugs in my code
99 frigging bugs
Take one down
Code around
127 frigging bugs in my code
♪♫♪♫

Top
#57786 - 12/04/20 07:05 AM Re: Data field won't wrap in text box [Re: Louise]
Louise Offline
OL Newbie

Registered: 12/03/20
Posts: 2
No, it's a URL so just continuous text.

Top
#57787 - 12/04/20 08:59 AM Re: Data field won't wrap in text box [Re: Louise]
Jean-Cédric Offline
OL Expert

Registered: 10/03/16
Posts: 681
Loc: Québec, Canada
Then that is why. At design time, you see what the interface can show you. At run time, it all relies on Postscript. Since there is no space, it forces it on 1 line.

I suggest you convert your Text Object into a PressTalk Object and modify the code so it breaks it after x number of character or on a "/".
_________________________
♪♫♪♫
99 frigging bugs in my code
99 frigging bugs
Take one down
Code around
127 frigging bugs in my code
♪♫♪♫

Top