View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006461 | JEDI VCL | 00 JVCL Components | public | 2015-10-20 18:37 | 2020-05-19 10:33 |
Reporter | mvalec | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | feedback | Resolution | open | ||
Product Version | 3.48 | ||||
Target Version | Fixed in Version | ||||
Summary | 0006461: TJvSpeedButton appearance when custom VCL style is activated | ||||
Description | When 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. | ||||
Tags | No tags attached. | ||||
|
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. |
|
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? |
|
Any news on this? |