Page 1 of 1
Force line-break for long column headings?
Posted: Thu Sep 29, 2011 5:02 pm
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
Re: Force line-break for long column headings?
Posted: Thu Sep 29, 2011 10:06 pm
by Alex
In the designer, when typing in a heading, use the Shift-Enter key to move to the second line.
Re: Force line-break for long column headings?
Posted: Fri Sep 30, 2011 8:40 am
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?
Re: Force line-break for long column headings?
Posted: Wed Oct 05, 2011 9:54 am
by David
You can embed an HTML line break element. For example:
RPG CODE
C Eval MyField = 'Line One<br />Line Two'
Re: Force line-break for long column headings?
Posted: Wed Oct 05, 2011 3:44 pm
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.