diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-10-23 09:35:45 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-10-23 09:35:45 +0100 |
commit | e5abbe5a6f73b7a224a97b363f7f86d10b80890c (patch) | |
tree | 4df59478c5eddb108d8029e8c681c37fc786a802 /src | |
parent | 31abd9a92e841c11d22ee6d2885c75807d4ea9f6 (diff) | |
download | fpGUI-e5abbe5a6f73b7a224a97b363f7f86d10b80890c.tar.xz |
treeview: fixed bug where setting FontDesc had no affect on the treeview.
I forgot the actually set the Font property of the Canvas. :-/
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/fpg_tree.pas | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/fpg_tree.pas b/src/gui/fpg_tree.pas index 8b338ef6..d247e66d 100644 --- a/src/gui/fpg_tree.pas +++ b/src/gui/fpg_tree.pas @@ -1585,6 +1585,7 @@ begin Canvas.ClearClipRect; Canvas.Clear(BackgroundColor); + Canvas.SetFont(FFont); // Limit painting in the UI Designer if csDesigning in ComponentState then |