resize button to fit text
example keyboard using popupbutton and flowcontrol