title: Stretching buttons in libgdx?
body: <p>In libgdx, you can create a TextButtonStyle that has images for up and down states, but when you set the size of a button it stretches the image. Is there anyway to make a button style that allows you to set the corners, sides and middle of a button so that instead of stretching the button image, it just tiles the sides and middle images? For example, a button in java's swing library can be set to any size without having a stretched look, but in libgdx a button stretches its image to fit the rectangle. This is more noticable on rounded buttons. How can I fix this?</p>