mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 09:39:31 +02:00
using TSpeedButton.Font.Color for drawing text from Giuliano Colla
git-svn-id: trunk@9402 -
This commit is contained in:
parent
fdb750df50
commit
294a82eb9a
@ -552,7 +552,8 @@ begin
|
||||
Canvas.TextRect(PaintRect, PaintRect.Left, PaintRect.Top, Caption, TXTStyle);
|
||||
Canvas.Font.Color := clBtnShadow;
|
||||
OffsetRect(PaintRect, -1, -1);
|
||||
end;
|
||||
end
|
||||
else Canvas.Font.Color := Font.Color;
|
||||
//DebugLn('TCustomSpeedButton.Paint PaintRect=',PaintRect.Left,',',PaintRect.TOp,',',PaintRect.Right,',',PaintRect.Bottom,caption);
|
||||
Canvas.TextRect(PaintRect, PaintRect.Left, PaintRect.Top, Caption, TXTStyle);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user