on 07-07-2008 7:21 PM
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,
Hi,
set the design property to header1 .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> 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.
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
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.