[Lazarus] CodeTools: what is an "identifier"

Bernd Kreuss prof7bit at googlemail.com
Fri Jul 30 13:28:43 CEST 2010


Mattias Gaertner wrote:

> They are painted with your theme.
> Here they look exactly like hints from other applications. Yellowish
> background.
> Hints have no border.

The nomal hints all look ok and have the yellowish color of clInfoBk and
a thin border of 2 pixel (bsSingle?) around them and there is a spacing
of a few pixels betwen the text and the border, only when it uses the
html control from turbopoweripro then the hint is a white rectangle and
has absolutely no spacing between the border and the text.

See the screenshots:
html-hint without borders: http://imagebin.org/107389
all other hints look ok: http://imagebin.org/107390

setting aHintWindow.BorderWidth to anything bigger than 0 will make the
thin borer line visible again and make this amount of padding between
the border and the html control.

http://imagebin.org/107395

and explicitely setting BGCOLOR in the BODY tag to clInfoBk will also
fix the background color:

http://imagebin.org/107397

I have tried to explicitly set the default background color to clInfoBk
and a few pixels padding directly in the html control in the
turbopoweripro package but it will simply ignore it. Maybe it is a bug
in turbopoweripro and happens only on GTK. At the weekend I have some
time at my windows PC and see how it looks there.

Also I just remember I have recently set my color depth to 16 bits only
because of problems with another application, maybe this is what
triggers this behavior. Also I have noticed that the turbopoweripro will
throw an exception everytime I use a <table>  inside the HTML and it
says something with GTK2 and GetSysColor() and it received 32 while only
0..31 are allowed or something like that.

It is not so important, it is just that I pay attention to every little
detail and this one annoyed me a bit. If it is only because of my odd
color depth that almost nobody else uses then i understand that this has
no priority. I can live with it, the most important thing is that the
Information itself is displayed somehow and this is the case.

Maybe I should prepare a minimal example if i have some time and some
more information about what exactly it is that does not behave how it
should (or how it is expected to behave) and file a bug against the
turbopoweripro package.




More information about the Lazarus mailing list