[Lazarus] ObjectInspector SpeedButton background issue

Sandro Cumerlato sandro.cumerlato at gmail.com
Sun Nov 23 18:50:50 CET 2014


Please review attached patch.

- removed code that prevent SpeedButton background erase.

Sandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20141123/a8e39d36/attachment-0002.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-ide.org/pipermail/lazarus/attachments/20141123/a8e39d36/attachment-0002.png>


More information about the Lazarus mailing list