From e5abbe5a6f73b7a224a97b363f7f86d10b80890c Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Tue, 23 Oct 2012 09:35:45 +0100 Subject: treeview: fixed bug where setting FontDesc had no affect on the treeview. I forgot the actually set the Font property of the Canvas. :-/ --- src/gui/fpg_tree.pas | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2