cancel
Showing results for 
Search instead for 
Did you mean: 

Change default font of tree node text

Former Member
0 Kudos

Hi

I have a tree application where my data is displayed perfectly on a tree.Now I want to change the default of the text which is displayed on the tree nodes. I am loading my tree internal table ONCREATE event.

Can somebody give me insight on what is the best way to change the default font?I have read about creating my own theme but not sure if that is most feasible way of achieving this.Any suggestions would be of great help.

Accepted Solutions (0)

Answers (1)

Answers (1)

maximilian_schaufler
Active Contributor
0 Kudos

Somehow you have to either use your own theme or overwrite the used style classes.

You probably already read this weblog:

<a href="/people/sap.user72/blog/2005/04/12/bsphowto-css-hints--custom-design-for-your-bsp-applications: CSS Hints - Custom Design for your BSP Applications</a>

I will update it over the weekend, maybe adding some information for problems just like yours, to solve them with minimal effort.

athavanraja
Active Contributor
0 Kudos

Alternatively you could just pass the text along with html tag to the tview-text field.

example:

move: '<font size="4" color="blue">Node description children</font>' TO wa_TVIEW-text .

Regards

Raja