Actually, that might be 3, since the points in the rect are inclusive (99 to 101 = 3)? Walt
-----Original Message----- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Jan Schenkel Sent: Monday, December 06, 2010 1:05 AM To: How to use LiveCode Subject: Re: LineSize --- On Sun, 12/5/10, Hershel Fisch <hersh...@syp2u4c.com> wrote: > Hi all, I'm wondering why when I set > the lineSize of a line to1 and the > height to 1 the line is not seen on the screen? > Thanks, Hershel > Because there has to be actual room to show the line itself. If you look at the inspector palette after selecting a simple horizontal line, you'll see the 'points' property is something like: ## 50,100 300,100 ## Now switch to the 'Size & Position' panel. You'll see that the 'rectangle' of the graphic actually fits around the line: ## 49,99,301,101 ## Thus the 'minimum' height of the graphic is (101-99) = 2. My preferred methd of updating a line graphic is setting the 'points' property, and letting the engine update the 'rectangle' acordingly. Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode