chickadee » kiwi » rect-fill-parent-horizontally!

rect-fill-parent-horizontally! PARENT RECTS WEIGHTS PADDING VALIGNprocedure

Layouts and resizes RECTS to fit PARENT by changing their coordinates and width. WEIGHTS is a list of fixnums mapped to RECTS. The higher the weight, the more space a rectangle will occupy. PADDING specifies the space in pixels between the rectangles. VALIGN must be one of (top middle bottom).