cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the size of the text box in "Notes"

Former Member
0 Kudos

Dear All,

I am trying to change the text box size of that is used in the Notes section. Currently the displayed size features 5 rows, I want to increase it.

I tried to increase the starting and ending Row numbers in the UI configuration, but it still stays the same size!

Anyone know how to resolve this problem, we really need it !

Thanks.

Best regards,

Rohit L.

View Entire Topic
Former Member
0 Kudos

Seems like that's the only way to do it.

gerd_hotz
Contributor
0 Kudos

Hello,

I've enhanced the ICCMP_BTTEXT like this:

<thtmlb:textArea id = "TextBox"

width = "98%"

text = "//BTText/Tdline"

rows = "20"

disabled = "<%= controller->IS_TEXTAREA_DISABLED( ) %>" />

but starting my web-ui I still cannot see 20 rows in my notes box.

Must I do anything to get this ?

Thanks Gerd

Former Member
0 Kudos

FYI: We were able to resolve the issue by changing the GETTER-method of the attribute LINES in the component GSTEXT:


method GET_P_LINES.

  CASE iv_property.
    WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
      rv_value = cl_bsp_dlc_view_descriptor=>FIELD_TYPE_TEXTAREA.
    WHEN if_bsp_wd_model_setter_getter=>fp_textarea_rows.
      rv_value = 16.
  ENDCASE.

endmethod.

-


Hi Gerd,

could you resolve your issue?

We try to do the same and just adding "rows" does not work for us either.

Thanks and regards,

Stefan

Edited by: Stefan Heitmann on Jul 13, 2010 1:04 PM