简体   繁体   English

如何在UI5中的sap.m页面中使用sap.ui.commons.layout:MatrixLayout?

[英]How to use sap.ui.commons.layout:MatrixLayout inside a sap.m Page in UI5?

How to use sap.ui.commons.layout:MatrixLayout inside a sap.m Page? 如何在sap.m页面中使用sap.ui.commons.layout:MatrixLayout? What should be the aggregation? 聚合应该是什么?

You shouldn´t do that at all, because the combination of sap.m and sap.ui.commons is not supported. 你根本不应该这样做,因为不支持sap.m和sap.ui.commons的组合。

Supported Library Combinations 支持的库组合

If your really want nevertheless it to do, the solution is the same as binding eg sap.tnt components. 如果您真的想要它,那么解决方案与绑定例如sap.tnt组件相同。 But you will get rendering issues. 但是你会得到渲染问题。


Edit: But to answer your question here the example: Bad Matrix Layout example 编辑:但在这里回答你的问题示例: 坏矩阵布局示例

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

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