Project JEDI - Issue Tracker - JEDI VCL
Viewing Issue Advanced Details
6548 00 JVCL Components minor always 2017-03-03 16:49 2018-07-18 15:51
rmetzger  
 
normal  
feedback  
open  
none    
none  
0006548: TJvMainMenu and TJvPopupMenu do not use TScreen.MenuFont
Hey,
TJvMainMenu (line 1258) and TJvPopupMenu (line 1839) use the font given by tagNONCLIENTMETRICS.lfMenuFont, but they should use TScreen.MenuFont instead.
BTW, both object correctly use TScreen.MenuFont for measuring menu item (line 1300 and 1881, respectively).
Workaround is simple, just replace SetDefaultMenuFont(Canvas.Font); with FCanvas.Font:=Screen.MenuFont on lines 1258 and 1839.
IMO, Function SetDefaultMenuFont is irrelevant here.
Best regards,
Issue History
2017-03-03 16:49 rmetzger New Issue
2018-07-18 15:51 obones Note Added: 0021517
2018-07-18 15:51 obones Status new => feedback

Notes
(0021517)
obones   
2018-07-18 15:51   
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.