7 Oct
2008
7 Oct
'08
10:45 p.m.
Wrong valid options specified for :expand, tripped me up. Index: lib/hotcocoa/layout_view.rb =================================================================== --- lib/hotcocoa/layout_view.rb (revision 651) +++ lib/hotcocoa/layout_view.rb (working copy) @@ -26,7 +26,7 @@ # Whether the view is packed at the start or the end of the packing view. # Default value is true. # - # :expand -> :vertical, :horizontal, [:vertical, :horizontal] + # :expand -> :height, :width, [:height, :width] # Whether the view's first dimension (width for horizontal and height for vertical) # should be expanded to the maximum possible size, and should be variable according # to the packing view frame. -Ben