View Issue Details

IDProjectCategoryView StatusLast Update
0006461JEDI VCL00 JVCL Componentspublic2023-11-11 17:32
ReportermvalecAssigned ToAHUser 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.48 
Target VersionFixed in VersionDaily / GIT 
Summary0006461: TJvSpeedButton appearance when custom VCL style is activated
DescriptionWhen Caption is not empty, Glyph is painted on left edge.
Procedure TJvxButtonGlyph.CalcButtonLayout calls DrawGlassableText from JvThemes.pas to get TextBounds. (JvSpeedButton.pas, line 2178). Problem is on line 1396 of JvThemes.pas: DrawGlassableText calls deprecated version of procedure StyleServices.DrawText which can not return calculated text bounds.
TagsNo tags attached.

Activities

obones

2018-07-18 15:38

administrator   ~0021484

Could you check if the issue is still present in the latest GIT content? If yes, please provide the zipped sources of an application showing this.

mh

2019-05-12 17:26

reporter   ~0021830

Ok, there are other overloads of DrawText available which could be used at least in newer Delphi versions. From which version onwards? And: one of them has a parameter Flags:TTextFormat which is most likely what you want. But which of the many formats shall be used here? tfCalcRect?

obones

2020-05-19 10:33

administrator   ~0021926

Any news on this?

AHUser

2023-11-11 17:32

developer   ~0022048

Fixed in git main branch.

Issue History

Date Modified Username Field Change
2015-10-20 18:37 mvalec New Issue
2018-07-18 15:38 obones Note Added: 0021484
2018-07-18 15:38 obones Status new => feedback
2019-05-12 17:26 mh Note Added: 0021830
2020-05-19 10:33 obones Note Added: 0021926
2023-11-11 17:32 AHUser Assigned To => AHUser
2023-11-11 17:32 AHUser Status feedback => resolved
2023-11-11 17:32 AHUser Resolution open => fixed
2023-11-11 17:32 AHUser Fixed in Version => Daily / GIT
2023-11-11 17:32 AHUser Note Added: 0022048