[Lazarus] Incorrect scrollbar theme in editor popup windows
Mattias Gaertner
nc-gaertnma at netcologne.de
Wed Sep 26 14:49:55 CEST 2012
Graeme Geldenhuys <graeme at geldenhuys.co.uk> hat am 26. September 2012 um 14:33
geschrieben:
> On 2012-09-26 13:17, Mattias Gaertner wrote:
> >
> > Or exclude the clip rect or add csOpaque to the scrollbar controlstyle.
>
>
> It seems we found a bug here. TScrollbar is Opaque, but LCL-GTK2 seems
> to ignore that ControlStyle setting.
csOpaque is not a widgetset settings, but a LCL one. It excludes the area by
clipping when calling Paint and effects how Mouse hits are handled.
> The code from TCustomScrollbar.Create()
>
>
> ControlStyle := ControlStyle + [csFramed, csDoubleClicks, csOpaque]
> - [csAcceptsControls, csDoubleClicks,
> csCaptureMouse, csSetCaption];
Right. Then maybe I guessed wrong and something else is painting the background.
Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120926/b79137eb/attachment-0003.html>
More information about the Lazarus
mailing list