mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 16:38:17 +02:00
EditoEditorOptions: Preview Colors in list / font size
git-svn-id: trunk@21195 -
This commit is contained in:
parent
c05c2d6daa
commit
1aa3cceda2
@ -283,7 +283,7 @@ begin
|
||||
s:= '123';
|
||||
ColorElementTree.Canvas.Font.Color := c;
|
||||
ColorElementTree.Canvas.Font.Style := Attri.Style;
|
||||
ColorElementTree.Canvas.Font.Height := NodeRect.Bottom - NodeRect.Top - 5;
|
||||
ColorElementTree.Canvas.Font.Height := -(NodeRect.Bottom - NodeRect.Top - 7);
|
||||
TextY := (NodeRect.Top + NodeRect.Bottom - canvas.TextHeight(s)) div 2;
|
||||
AbcWidth := ColorElementTree.Canvas.TextExtent(s).cx;
|
||||
SetBkMode(ColorElementTree.Canvas.Handle, TRANSPARENT);
|
||||
|
Loading…
Reference in New Issue
Block a user