[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lout debugging
From: |
Jeff Kingston |
Subject: |
Re: Lout debugging |
Date: |
Mon, 06 Sep 1999 12:16:52 +1000 |
Monty writes:
> I've been using @Box to show boundaries of my objects, but that adds
> some space around them and isn't really accurate. Is there an easy way
> to do something like set a background color for an arbitrary lout
> object so I can see exactly how big lout thinks it is?
Uwe's answer made this seem harder than it really is. If you use
@Box margin { 0i } ...
you get a box with no extra margin around ... If you want to have a
background colour you can use
@Box margin { 0i } paint { lightgray } ...
for example. The standard @Box always draws an outline, I believe,
but if you switch to the @Box symbol from the @Diag package:
@Diag {
@Box ...
}
then that symbol has an option (outlinestyle from memory) which allows
you to turn off the outline altogether.
Jeff Kingston