Siebel Open UI 调整图像小程序
Siebel Open UI Resizing Image Applet
新的 Siebel Open UI,改进了可视化。我从 Card Applet 中得到启发,以满足图像 applet 的要求。
我创建了一个只有一个字段的简单小程序,该字段是联系人 BC 的图像源路径,字段的 html 类型是图像控件,字段检索类型是字段数据,一切正常,除了我无法将图像调整为固定大小,例如卡片小程序,我希望将图像调整为 200px x 200px。
请参阅内附图片。
已尝试寻找图像控件的 css 属性,但我找不到它,将不胜感激对此解决方案的建议
相信你一定试过this.You可以设置height/widthcss属性来调整图片大小,
可以直接在小程序控件的html属性中设置。例如,
http://www.askmesiebel.com/2014/02/siebel-fields-validation-through-html-attributes/
如果这不是您的答案,请解释您的问题。
我正在处理类似的要求。我在 Siebel 主题中使用了自定义 css,像这样:
.siebui-icon-contactfilename>img {
width: 90px;
height: 90px;
}
这样做我可以将图像调整为 90x90 像素:
此致。
@Alexander 给出了完美的线索,找到 css 属性并在本例中使用
进行编辑
.mceGridField.siebui-value.mceField > span > a > img {
width: 200px;
height: 200px;
}
新的 Siebel Open UI,改进了可视化。我从 Card Applet 中得到启发,以满足图像 applet 的要求。 我创建了一个只有一个字段的简单小程序,该字段是联系人 BC 的图像源路径,字段的 html 类型是图像控件,字段检索类型是字段数据,一切正常,除了我无法将图像调整为固定大小,例如卡片小程序,我希望将图像调整为 200px x 200px。 请参阅内附图片。 已尝试寻找图像控件的 css 属性,但我找不到它,将不胜感激对此解决方案的建议
相信你一定试过this.You可以设置height/widthcss属性来调整图片大小,
可以直接在小程序控件的html属性中设置。例如,
http://www.askmesiebel.com/2014/02/siebel-fields-validation-through-html-attributes/
如果这不是您的答案,请解释您的问题。
我正在处理类似的要求。我在 Siebel 主题中使用了自定义 css,像这样:
.siebui-icon-contactfilename>img {
width: 90px;
height: 90px;
}
这样做我可以将图像调整为 90x90 像素:
此致。
@Alexander 给出了完美的线索,找到 css 属性并在本例中使用
进行编辑.mceGridField.siebui-value.mceField > span > a > img {
width: 200px;
height: 200px;
}