Normal Topic Change text appearance. (Read 11939 times)
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Change text appearance.
Nov 14th, 2019 at 9:07pm
Print Post Print Post  
I have a report with about 25 columns.  The report looks like a spreadsheet.  Most of the columns only have a "Y" in them so the column width could be very small.  However, the title for each column is keeping the width larger than necessary.

In Excel, i would change the alignment so the words are vertical rather than horizontal. 

Can this be done in Sesame?
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Change text appearance.
Reply #1 - Nov 14th, 2019 at 9:50pm
Print Post Print Post  
Are you using HTML output?
What browser?

If the browser supports the Writing-Mode css property, you can use code like the following in Global Code

Code
Select All
ReportHTMLFilter("<FONT COLOR=""#000001"" FACE=""Arial"" STYLE=""FONT-SIZE:12pt", ";writing-mode: tb-rl;", 3) 



What this code does is it looks for every entry of
Quote:
<FONT COLOR="#000001" FACE="Arial" STYLE="FONT-SIZE:12pt

in the resulting HTML and then makes it
Quote:
<FONT COLOR="#000001" FACE="Arial" STYLE="FONT-SIZE:12pt;writing-mode: tb-rl;

which makes the text write from Top to Bottom from Right to Left. So for each one that you want to turn sideways, you just set the text color to 000001

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Re: Change text appearance.
Reply #2 - Nov 18th, 2019 at 6:29pm
Print Post Print Post  
Ray,

How do I set the text color to 000001?  The only way I know to change color is to select a color or modify the RGB settings.
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Change text appearance.
Reply #3 - Nov 18th, 2019 at 6:40pm
Print Post Print Post  
On the Color Tab, In Colors: choose Custom
Set Red to 0
Set Green to 0
Set Blue to 1

That'll give you 000001.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Re: Change text appearance.
Reply #4 - Nov 19th, 2019 at 3:27pm
Print Post Print Post  
Ray, I've tried using the programming without success.  I've tried using Firefox, Microsoft Explorer and Chrome. 

I put the programming in the Global Code for the report.  Is that correct?  What else might be wrong?
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Change text appearance.
Reply #5 - Nov 19th, 2019 at 3:31pm
Print Post Print Post  
Paul,

Give me a call. I would need to see the source of the report to see what is happening. It could be something like a different font size or font face causing this issue.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
cbislander
Full Member
***
Offline



Posts: 107
Joined: Mar 22nd, 2018
Re: Change text appearance.
Reply #6 - Nov 21st, 2019 at 11:39pm
Print Post Print Post  
If you are looking for ways to minimize title width. You may want to try multi line titles if that is possible.

This could change

LARGE   to   L
                  A
                  R
                  G
                  E

Just a thought.
  
Back to top
 
IP Logged