- Home /
New UI: Expandable button. How to implement ?
Hello!
Is it possible to create expandable button ? That means that when you add some fixed size text to it it will expand its borders depending on width and height of the text area ?
Basically I need more complex thing. My buttons are on some panel. Just an example: I have a panel with 3 buttons placed vertically with names: A, AB, ABC. So the much larger button should be ABC. Text ABC enlarges button width. Button width enlarges panel width.
Something like that.
So my question is: is it possible to do using some autolayout system ? If not, could I program such behaviour ?
Thank you in advance!
Comment