On Mon, Dec 31, 2007 at 07:43:35AM -0800, Giles Bowkett wrote:
> Width should either take a number
>
> :width => 123
>
> or an array:
>
> :width => [:margin => 1, :text_space => 2, :border => 3]
This is an intriguing idea, mr. giles. I'll think about this! My
only trouble with it is that you are forced to define height and
width margins separately.
stack :width => {:margin => 1, :content => 2, :border => 3},
:height => {:margin => 1, :content => 2, :border => 3} do
end
Kind of long.
Also, don't forget that borders are actual elements. We want to give
the ability to apply multiple borders and multiple backgrounds, for
sure.
stack :width => 6, :height => 6, :margin => 1
border black, :strokewidth => 3
end
_why