SAP UI5 aggregation field type
SAP type UI5 Field Aggregation
2023-09-14 09:02:42 时间
Aggregation里面的toolbar改成用sap.ui.core/Control:
<aggregation cardinality="0..1" name="toolbar" type="sap.ui.core/Control">
<documentation>Aggregation that displays tool bar.
If the device is desktop/tablet, we use tool bar, if it is phone, we use HBox with simple form.
</documentation>
</aggregation>
在Note.js里面,如果是phone screen,把两个select的宽度改成100%:
this._noteType.setWidth("100%");
this._noteTypeForm.addContent(this._noteType);
this._noteLangForm.addContent(this._noteLangLabel);
this._noteLanguage.setWidth("100%");
this._noteLangForm.addContent(this._noteLanguage);
Sent: Tuesday, January 13, 2015 11:27 AM
aggregation设成sap.ui.core/Control可以,刚刚build的可能不是最新的:
有点小问题就是select的 width定了30%,在phone上面就太短了
用toolbar下面包simple form不行,只能显示一个。
现在的code在phone screen上有点问题:
我看了一下control上的aggregation是一个Toolbar:
实际在phone screen下显示的是一个HBox来模拟toolbar:
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
相关文章
- SAP UI5 sap.ui.core.Element 的概要介绍
- SAP UI5 SimpleForm 的 two-column layout 布局
- java设置content type_Response Content Type设置[通俗易懂]
- SAP UI5 应用中的 sap.ui.require 使用场景
- SAP UI5 sap.ui.Device.media.RANGESETS 的使用介绍
- SAP UI5 sap.ui.Device.media.RANGESETS.SAP_STANDARD_EXTENDED 介绍
- 戴尔大中华区总裁「黄陈宏」跳槽,被任命为 SAP 大中华区总裁
- [ChatGPT 勘误] SAP UI5 的 sap.ui.base.Object
- SAP UI5 里一个功能的 compatibility version 是什么含义?
- SAP UI5 sap.m.Table Manual Pop-In Mode 概述
- 澄清一些对 SAP UI5 响应式表格 sap.m.Table 的常见理解误区试读版
- 关于 SAP UI5 接口 sap.ui.core.IAsyncContentCreation 的问题讨论
- ORA-22319: type attribute information altered in ALTER TYPE ORACLE 报错 故障修复 远程处理
- ORA-22343: Compilation error for type invalidated by ALTER TYPE ORACLE 报错 故障修复 远程处理
- 安装SAP,Linux获台前瞻未来(linux安装sap)
- (转载整理)SAP ERP常用表详解编程语言
- SQVI和SAP查询QUERY的区别和使用注意事项详解编程语言
- Sending email in SAP ABAP using Cl_BCS class详解编程语言
- SAP vs Oracle:差异点与解析(sap和oracle的区别)
- 比较:Oracle与SAP的对比(oracle和sap)
- Oracle与SAP在仓储领域的联姻(仓库oracle和sap)
- Oracle从SAP抽取数据的简单方法(oracle从sap抽数)
- 跨界合作新模式 Oracle与SAP实现合并(oracle与sap合并)
- Oracle与SAP金蝶谁更具竞争力(oracle sap金蝶)
- Oracle和SAP教程一步一步学习(oracle sap教程)
- 使用Oracle与SAP进行数据接口开发(oracle sap接口)