#How to make imagebuttons only clickable in its visual part

1 messages · Page 1 of 1 (latest)

sterile prairie
#

So i have a rectangular image that I want as a button, but if i make it an imagebutton, the entire size of the imagebutton is clickable and not just the rectangle image in the middle. I tried using the crop scaletype, but it scales absolutely horribly for different devices, i tried making it an imagelabel and putting it inside a text button and vise versa, but the textbutton doesnt scale the same as the imagelabel. I put it in a frame, and it did the same thing. Please someone help me.

rose cobalt
sterile prairie
#

The right one is the cropped one