Force line-break for long column headings?

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
Bryan641
Profound User
Posts: 72
Joined: Fri Oct 01, 2010 5:07 pm
First Name: Bryan
Last Name: Leaman
Company Name: InVue Security
Phone: 704-752-6513 x221
Address 1: 15015 Lancaster Hwy
City: Charlotte
State / Province: North Carolina
Zip / Postal Code: 28277
Contact:

Force line-break for long column headings?

Post by Bryan641 »

Is there a way to force where a line break occurs on grid column headings? In this specific case, I want the heading to be "Monday Oct-3" (for example) and would like to be able to have the day of the week on the first line and the Month and day on the second.

--Bryan
User avatar
Alex
Profound Logic Staff Member
Posts: 233
Joined: Fri Jan 04, 2008 12:10 pm
First Name: Alex
Last Name: Roytman
Company Name: Profound Logic Software
Contact:

Re: Force line-break for long column headings?

Post by Alex »

In the designer, when typing in a heading, use the Shift-Enter key to move to the second line.
Bryan641
Profound User
Posts: 72
Joined: Fri Oct 01, 2010 5:07 pm
First Name: Bryan
Last Name: Leaman
Company Name: InVue Security
Phone: 704-752-6513 x221
Address 1: 15015 Lancaster Hwy
City: Charlotte
State / Province: North Carolina
Zip / Postal Code: 28277
Contact:

Re: Force line-break for long column headings?

Post by Bryan641 »

I'm creating the headings in my RPG code, because they are date-based. Does that mean I can embed x'25' and have it work? Or something similar?
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Force line-break for long column headings?

Post by David »

You can embed an HTML line break element. For example:
RPG CODE
C                   Eval      MyField = 'Line One<br />Line Two'
Bryan641
Profound User
Posts: 72
Joined: Fri Oct 01, 2010 5:07 pm
First Name: Bryan
Last Name: Leaman
Company Name: InVue Security
Phone: 704-752-6513 x221
Address 1: 15015 Lancaster Hwy
City: Charlotte
State / Province: North Carolina
Zip / Postal Code: 28277
Contact:

Re: Force line-break for long column headings?

Post by Bryan641 »

Thanks. I thought I had tried that before and it didn't work for me, but I guess I was mistaken. Could've been that I stumbled upon another anomaly. I've just tested again, and if I open 2 ProfoundUI applications in Atrium, one right after the other, the first one doesn't render the screen correctly, so when I click on that tab to see the application, the calendar icon on my date fields is behind the field, and the column headings that use <br/> only show the first line. When I refresh the screen all is fine again.
Attachments
When I switch to another Atrium tab right after launching the app, the screen doesn't render quite right.
When I switch to another Atrium tab right after launching the app, the screen doesn't render quite right.
notquiteright.jpg (23.48 KiB) Viewed 1309 times
If I don't switch to another tab while the app is loading, it looks correct.
If I don't switch to another tab while the app is loading, it looks correct.
better.jpg (23.92 KiB) Viewed 1308 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests