cancel
Showing results for 
Search instead for 
Did you mean: 

textEdit font size

Former Member
0 Kudos

Hello folks!

Can somebody help me change the htmlb textEdit font size?

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

athavanraja
Active Contributor
0 Kudos

Welcome to SDN.

check out the following code sample to handle the font size in htmlb:textEdit

<%@page language="abap"%>
<%@extension name="htmlb" prefix="htmlb"%>
<%@extension name="bsp" prefix="bsp"%>

<htmlb:content design="design2003">
  <htmlb:page title = " ">
    <htmlb:form>
    <% data: temp type string . 
     concatenate `<textarea `  `style="font-size: 18pt"` into temp .%>
     
<bsp:findAndReplace find="<textarea"
                    replace="<%= temp %>">
            <htmlb:textEdit id="te1" text="The quick brown fox jumped over the lazy dog." />
</bsp:findAndReplace>            
     

    </htmlb:form>
  </htmlb:page>
</htmlb:content>

Regards

Raja

If your question is answered, reward the helpful answers by clicking the radio button and mark it as answered.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Rahul,

Welcome to SDN.

For standard Elements, It depends on the BSP Element you use.

We can also create themes.here u can change Font and Color attributes of extension elements.

You can use the Standalone theme editor that runs in the Java Netweaver dev. environment. You can use the Portal Theme editor as well. For BSP there is an excellent tool called ALFS (ABAP Look and Feel Service) that can be used for making themes very quickly.

Rgds,

J

Do Award Points and close the thread if satisfied with the answers .

U can find these options by the Left hand side of this info.