IdeIntf: Improve a comment about hint fonts added in previous commit.

git-svn-id: trunk@64027 -
This commit is contained in:
juha 2020-10-16 12:53:32 +00:00
parent fa76f4f43b
commit 8088c1378b

View File

@ -2401,14 +2401,17 @@ var
fPropRow: TOIPropertyGridRow;
procedure DoShow(pt: TPoint); inline;
//var
// HintFont: TFont;
//var HintFont: TFont;
begin
if WidgetSet.GetLCLCapability(lcTransparentWindow)=LCL_CAPABILITY_NO then
Inc(pt.Y, fPropRow.Height);
{ if HintType<>pehValue then By Juha :
HintFont := Screen.HintFont <- This is not usable at least in my Linux+KDE.
else Tested with GTK2 and QT5 bindings.
{ By Juha :
FValueFont and FDefaultValueFont are nearly unreadable.
We should maybe get their negated color as the hint background is black.
if HintType<>pehValue then
HintFont := Screen.HintFont
else
if fPropRow.Editor.ValueIsStreamed then
HintFont:=FValueFont
else