Sapui5 SAP UI5:NumericContent:标尺短路
我在使用SAP UI5时遇到问题。我正在使用NumericContent互动程序。这里我想将km/h设置为一个刻度,但它总是被缩写为km/ 我怎样才能防止这种情况Sapui5 SAP UI5:NumericContent:标尺短路,sapui5,Sapui5,我在使用SAP UI5时遇到问题。我正在使用NumericContent互动程序。这里我想将km/h设置为一个刻度,但它总是被缩写为km/ 我怎样才能防止这种情况 我不知道为什么会发生这种情况,但据我所知,人们应该使用sap.suite.ui.commons.GenericTile而不是sap.suite.ui.commons.NumericTile,因为它从1.25版开始就被弃用了 试试这个方法 编辑时间:10:42 120717: 我在我的系统上对其进行了测试,发现它存在缺陷,因为k/h工作
我不知道为什么会发生这种情况,但据我所知,人们应该使用sap.suite.ui.commons.GenericTile而不是sap.suite.ui.commons.NumericTile,因为它从1.25版开始就被弃用了 试试这个方法 编辑时间:10:42 120717: 我在我的系统上对其进行了测试,发现它存在缺陷,因为k/h工作正常: 最大字符串长度只有3个符号: 我在GenericFile中测试它
<TileContent footer="{i18nExtended>SpeedTripMax}" class="sapUiSmallMargin">
<content>
<NumericContent value="{mymodel>/SpeedTripMax}"
truncateValueTo="6" scale="km/h"/>
</content>
</TileContent>