Delphi Rio – buttons sized to their text

  

Delphi Rio 10.3 Android project

When the size of a button gets small enough that it cannot display the full text, it truncates it. For example, a “Disconnect” button will label itself “Disco…”

What code will change the width of the button to the minimum width required to display the complete text?

Comments are closed.