简体   繁体   中英

How do I resize sap.m.TextArea manually in sapui5

I am implementing sap.m.TextArea. I want a feature similar to resizable sap.ui.common.TextArea . I want to expand the sap.m.textArea manually using mouse. How can I achieve that?

Thanks,

Teja.

I fixed it myself. Though SAP doesn't recommend customizing standard CSS, I created one css class 'textarea' and written below line of code:

   .textarea.sapMTextArea .sapMInputBaseContentWrapper 
{
    resize: vertical;
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM