mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 14:29:33 +02:00
clActiveCaption is not a text color, but a background color (fixes readability problem on windows xp with silverxp/luna theme)
git-svn-id: trunk@6229 -
This commit is contained in:
parent
b406ab0f6e
commit
8d67244ac0
@ -514,7 +514,7 @@ begin
|
|||||||
FValueFont:=TFont.Create;
|
FValueFont:=TFont.Create;
|
||||||
FValueFont.Color:=clMaroon;
|
FValueFont.Color:=clMaroon;
|
||||||
FDefaultValueFont:=TFont.Create;
|
FDefaultValueFont:=TFont.Create;
|
||||||
FDefaultValueFont.Color:=clActiveCaption;
|
FDefaultValueFont.Color:=clCaptionText;
|
||||||
|
|
||||||
SetInitialBounds(0,0,200,130);
|
SetInitialBounds(0,0,200,130);
|
||||||
ControlStyle:=ControlStyle+[csAcceptsControls,csOpaque];
|
ControlStyle:=ControlStyle+[csAcceptsControls,csOpaque];
|
||||||
|
Loading…
Reference in New Issue
Block a user