lib/whirled_peas/ui/element.rb in whirled_peas-0.2.0 vs lib/whirled_peas/ui/element.rb in whirled_peas-0.3.0
- old
+ new
@@ -203,10 +203,9 @@
@row_height = child.preferred_height if child.preferred_height > @row_height
end
@row_height
end
-
def preferred_width
margin_width +
outer_border_width +
settings.num_cols * (padding_width + col_width) +
(settings.num_cols - 1) * inner_border_width