Label with button function

Hi ,

Making the interface nice and compact, it would be very nice to have a label (S, M, L) with a button function . This would make it more interactive and more flexible in building a nice interface.
The buttons are now sometimes too big to fit in

Is this something to consider ?