how to align a button
I have a buttonrow, with several buttons inside. I have this one button that does not contain a text, bu rather an image. My image source is a SAP icon.
The thing is, the button that only has a image is misaligned. The button is aligned higher than the rest. When I put a text on the button together with the image, it aligns together with the rest.
Is this a possible sap bug? or is there a workaround to this?
Chaitanya Adharapurapu replied
If you want to place a blank , as your text , then create a value attribute and bind that to the TEXT property of the button and use the following code
wdContext.currentContextElement().set<value atribute>(" ");// give a space between double quotations.