View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003801 | JEDI VCL | 00 JVCL Components | public | 2006-07-08 21:32 | 2006-07-28 13:43 |
Reporter | gallahermike | Assigned To | obones | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.20 | ||||
Target Version | Fixed in Version | 3.30 | |||
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; | ||||
Tags | No tags attached. | ||||
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 |