cancel
Showing results for 
Search instead for 
Did you mean: 

Font size of text view in Web Dynpro ABAP

Former Member
0 Kudos

Hi Experts,

How to increase the font size of a text view in Web Dynpro layout. I have tried the 'Design' property of the text view and made it 'Group Title', But i want even bigger font size.

Pls suggest.

Thanks,

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

set the design property to header1 .

Former Member
0 Kudos

Hi


You can use <h1> HTML tag. Here
concatenate   '<h1>'  item_eform_reqno '</h1>' into head.
  wd_context->set_attribute( exporting name = 'EFORM_HEAD' value = head ).

Here attribute EFORM_HEAD is bounded to the text view element.

Regards

Naresh

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi Naresh

I was trying your way, it is not working am i missing anything?

Abhi

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

>

> Hi

>

>

>

>


> You can use <h1> HTML tag. Here
> concatenate   '<h1>'  item_eform_reqno '</h1>' into head.
>   wd_context->set_attribute( exporting name = 'EFORM_HEAD' value = head ).
> 

>

> Here attribute EFORM_HEAD is bounded to the text view element.

>

> Regards

> Naresh

This should NOT work! The UI elements should safe encode all input values - thereby eliminating the value of any HTML tags. If you system isn't doing this already then it is a bug and if you rely on such a thing it will stop working at some point in the future.

You are basically restricted to different values available via the design parameter. The overall font sizes come from the underlying themes and the client applications (browser or NetWeaver Business Client) that host the Web Dynpro Application. Therefore no direct specification of the font size is possible in order to stay within the controls of theme. If you don't like any of the designs available, you might consider altering the Portal Theme you are using - but that is a rather drastic approach.

Former Member
0 Kudos

Hi

sorry i used formatted text view UI element not text view.

Formatted text view will support many HTML Tags.

http://help.sap.com/saphelp_erp2005/helpdata/en/3b/219141c1d0ae5fe10000000a1550b0/content.htm

Thomas ..is it ok to use HTML tags with this UI control.

Regards

Naresh