View Issue Details

IDProjectCategoryView StatusLast Update
0003801JEDI VCL00 JVCL Componentspublic2006-07-28 13:43
ReportergallahermikeAssigned Toobones 
Status resolvedResolutionfixed 
Product Version3.20 
Target VersionFixed in Version3.30 
Summary0003801: JvNavigationPane ignores the font set in TJvNavPaneStyleManager.Fonts.HeaderFont
DescriptionWhen 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);
  if FStyleManager <> Value then
    ParentStyleManager := False;
    if FStyleManager <> nil then
    FStyleManager := Value;
    if FStyleManager <> nil then
      FColorFrom := FStyleManager.Colors.HeaderColorFrom;
      FColorTo := FStyleManager.Colors.HeaderColorTo;
      //Assign the font also.
    InternalStyleManagerChanged(Self, Value);
TagsNo tags attached.



2006-07-28 13:43

administrator   ~0009877

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