Hello,
I am trying to play around with setting an image for a button background.
I have uploaded the image using the Media Manager, image is named "test1.png... I use this below on page load
Appery("mobilebutton_57").css("background-image", 'url(' + Appery.getImagePath('test1') + ".png" + ')');
have class assigned to button to size the button..
.imageButton {
width: 60px;
height:60px;
}
When i test the app it looks like the image is tilled and not centered.. Can you tell me how or what I can do to center the background image. See Image attached.