[Lazarus] Incorrect scrollbar theme in editor popup windows
nc-gaertnma at netcologne.de
Wed Sep 26 14:17:20 CEST 2012
zeljko <zeljko at holobit.net> hat am 26. September 2012 um 14:10 geschrieben:
> On Wednesday 26 of September 2012 13:34:34 Graeme Geldenhuys wrote:
> > On 2012-09-26 12:22, Mattias Gaertner wrote:
> > > The TSynBaseCompletionForm paints on the form, the whole area. But the
> > > TScrollBar is not opaque, so syncompletion paints into the scrollbar.
> > > I fixed the background of items.
> > Why is the TScrollBar not opaque? Is this a setting only for synedit,
> > or for general LCL?
> WS decides about opacity of scrollbar. LCL does not paint it at all.
> > Or why doesn't the form painting simply not take the scrollbar into
> > account. If the scrollbar is visible, reduce the client rectangle
> > painting area and/or paint the client area behind the scrollbar as
> > clForm color.
> Paint method of that forms should take into account scrollbar and reduce it's
> rect (so not FillRect() and others below scrollbar.
Or exclude the clip rect or add csOpaque to the scrollbar controlstyle.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus