Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-11

ObjectInspector SpeedButton background issue

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Sandro Cumerlato

Please review attached patch.

- removed code that prevent SpeedButton background erase.

Sandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20141123/a8e39d36/attachment.html> -------------- next part --------------
Index: components/ideintf/objectinspector.pp
=================================================================== --- components/ideintf/objectinspector.pp (revisione 46974) +++ components/ideintf/objectinspector.pp (copia locale) @@ -2660,11 +2660,6 @@

   ValueRect := FullRect;
   Inc(FullRect.Bottom, FRowSpacing);

- if ARow = FItemIndex then
- if Layout = oilHorizontal then
- if Assigned(FCurrentButton) and (FCurrentButton.Visible) then
- Dec(FullRect.Right, FCurrentButton.Width); -
if Layout = oilHorizontal
then begin

     NameRect.Right:=SplitterX;

-------------- next part --------------
A non-text attachment was scrubbed...
Name: oi_background_bug.png
Type: image/png
Size: 2437 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20141123/a8e39d36/attachment.png>

Reply by email