[英]Change button height in WebDynpro ABAP
For a touchscreen I need to increase the height of my buttons in a ABAP WebDynpro Application.对于触摸屏,我需要增加 ABAP WebDynpro 应用程序中按钮的高度。 Because there's no attribute for the height I read that it should be possible to add an image to the MIME Repository and then add this image to the button.
因为我读到的高度没有属性,所以应该可以将图像添加到 MIME 存储库,然后将此图像添加到按钮。 I also read that it might be possible to create a own theme with a .css file.
我还读到可以使用 .css 文件创建自己的主题。
The last one sounds a little bit better to me.最后一个对我来说听起来好一点。 Does anyone know how I can create such a theme and apply it to my application?
有谁知道我如何创建这样的主题并将其应用于我的应用程序?
Thanks for your help!谢谢你的帮助!
The simpliest way of resizing height is using MIME image, which I want to describe here:调整高度的最简单方法是使用 MIME 图像,我想在这里描述一下:
imageSource
property of button element, where you can find it on Component images tab.imageSource
属性选择它,您可以在组件图像选项卡上找到它。 Voilá!瞧! The button adopted the dimensions of the image.
按钮采用了图像的尺寸。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.