Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003801 [JEDI VCL] 00 JVCL Components minor always 2006-07-08 21:32 2006-07-28 13:43
Reporter gallahermike View Status public  
Assigned To obones
Priority normal Resolution fixed  
Status resolved   Product Version 3.20
Summary 0003801: JvNavigationPane ignores the font set in TJvNavPaneStyleManager.Fonts.HeaderFont
Description When using TJvNavPaneStyleManager.Fonts.HeaderFont to control the headers shown in a TJvNavigationPane the TJvNavPanelHeader.Font is never set to the TJvNavPaneStyleManager.Fonts.HeaderFont.

The problem is in the TJvNavPanelHeader.SetStyleManager method. While colors seem to be assigned the font is not. The following code seems to fix the problem.

procedure TJvNavPanelHeader.SetStyleManager(const Value: TJvNavPaneStyleManager);
begin
  if FStyleManager <> Value then
  begin
    ParentStyleManager := False;
    if FStyleManager <> nil then
      FStyleManager.UnregisterChanges(FStyleLink);
    FStyleManager := Value;
    if FStyleManager <> nil then
    begin
      FStyleManager.RegisterChanges(FStyleLink);
      FStyleManager.FreeNotification(Self);
      FColorFrom := FStyleManager.Colors.HeaderColorFrom;
      FColorTo := FStyleManager.Colors.HeaderColorTo;
      //Assign the font also.
      Font.Assign(FStyleManager.Fonts.HeaderFont);
      Invalidate;
    end;
    InternalStyleManagerChanged(Self, Value);
  end;
end;
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0009877)
obones (administrator)
2006-07-28 13:43

This is now fixed in SVN and has also been fixed for TJvCustomNavigationPane and TJvNavPanelDivider.

- Issue History
Date Modified Username Field Change
2006-07-08 21:32 gallahermike New Issue
2006-07-28 13:43 obones Status new => resolved
2006-07-28 13:43 obones Fixed in Version => Daily / SVN
2006-07-28 13:43 obones Resolution open => fixed
2006-07-28 13:43 obones Assigned To => obones
2006-07-28 13:43 obones Note Added: 0009877


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker