我刚从Delphi 10.3升级到Delphi 10.4.1,尝试升级了几个应用程序。似乎它们都运行良好,除了一个问题。
TSpeedButton拒绝更改字体大小,始终显示默认大小为8。
为了演示问题,我制作了一个新的VCL TForm,其中包含一个TButton、一个TBitBtn和一个TSpeedButton(左图),然后我将TForm的Font.Size更改为11。TSpeedButton忽略了这一点(中间图片)。然后我将TSpeedButton的Font.Size更改为20。TSpeedButton也忽略了这一点(右图)。 在中间图片上,TSpeedButton的ParentFont为true,而TSpeedButton的Font.Size正确显示为11。
有什么想法吗?
TSpeedButton拒绝更改字体大小,始终显示默认大小为8。
为了演示问题,我制作了一个新的VCL TForm,其中包含一个TButton、一个TBitBtn和一个TSpeedButton(左图),然后我将TForm的Font.Size更改为11。TSpeedButton忽略了这一点(中间图片)。然后我将TSpeedButton的Font.Size更改为20。TSpeedButton也忽略了这一点(右图)。 在中间图片上,TSpeedButton的ParentFont为true,而TSpeedButton的Font.Size正确显示为11。
有什么想法吗?