1

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?

Mike at Bookup
  • 1,211
  • 14
  • 32
  • Doesn't https://stackoverflow.com/q/18430290/62576 answer this question? – Ken White Dec 26 '19 at 03:33
  • That solution was marked as working for Delphi XE4. I will try to adapt it to Rio. – Mike at Bookup Dec 26 '19 at 03:38
  • 1
    There are lots of questions marked as working for Delphi 7 that still apply to Rio, too. :-) I don't know if it will work for Rio or not, as I don't use Firemonkey for anything serious at this point, so I didn't close it as a duplicate. It's worth taking a look at to see if it solves your problem, though. – Ken White Dec 26 '19 at 03:40

0 Answers0