简体   繁体   English

如何在 sapui5 中手动调整 sap.m.TextArea 的大小

[英]How do I resize sap.m.TextArea manually in sapui5

I am implementing sap.m.TextArea.我正在实施 sap.m.TextArea。 I want a feature similar to resizable sap.ui.common.TextArea .我想要一个类似于可调整大小的 sap.ui.common.TextArea的功能。 I want to expand the sap.m.textArea manually using mouse.我想使用鼠标手动扩展 sap.m.textArea 。 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:尽管 SAP 不建议自定义标准 CSS,但我创建了一个 css 类“textarea”并写在以下代码行中:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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