3

I have just upgraded from Delphi 10.3 to Delphi 10.4.1 and I have tried to upgrade couple of applications. It seems they worked fine except for one thing.

TSpeedButton refuse to change font size and it always shows default size of 8.

To demonstrate the problem I have made a new VCL TForm, with one TButton, one TBitBtn and one TSpeedButton (left picture), then I have changed Font.Size of the TForm to 11. TSpeedButton ignores that (middle picture). Then I have changed Font.Size of TSpeedButton to 20. TSpeedButton ignores that too (right picture).

TSpeedButton font size bug

ParentFont of the TSpeedButton was true on the middle picture, and Font.Size of the TSpeedButton was displayed correctly as 11.

Any ideas what to do?

ivo.tisljar
  • 177
  • 10
  • same problem, are you solved this problem . – Realbitt Feb 14 '21 at 10:36
  • 1
    No, I think solving that would be wasting of time: You have three options: (1) replace SpeedButtons with Buttons or BitButtons; (2) wait till Embarcadero issue updated Delphi with no bug; (3) waste time trying to fix thing that shoudn't never be broken. I have chosen the second options. – ivo.tisljar Feb 18 '21 at 12:46
  • And the long waiting is over, BitBtn has been fixed :-) – ivo.tisljar Mar 27 '21 at 20:50

1 Answers1

2

This is a known bug in Delphi 10.4.1: https://quality.embarcadero.com/browse/RSP-30755

It is supposed to be fixed in 10.4.2.

fpiette
  • 11,983
  • 1
  • 24
  • 46