Apply size: root 480x272 Calc min: root Calc min: left_bar Min of left_bar is 30x1 Calc min: center Calc min: menubar Min of menubar is 20x50 Calc min: content Min of content is 1x30 Min of center is 20x100 Calc min: right_bar Min of right_bar is 30x1 Min of root is 80x100 distribute_remainder: root {400, 172} left_bar height is MIN(272, 100000) center height is MIN(272, 100000) center widening by 400 to 420 right_bar height is MIN(272, 100000) After distributing, remainder is 0x0 Apply size: left_bar 30x272 Apply size: center 420x272 Calc min: center Calc min: menubar Min of menubar is 20x50 Calc min: content Min of content is 1x30 Min of center is 20x100 distribute_remainder: center {400, 172} menubar width is MIN(420, 100000) content width is MIN(420, 100000) content heightening by 172 to 202 After distributing, remainder is 0x20 distribute_remainder: center {0, 20} menubar width is MIN(420, 100000) content width is MIN(420, 100000) content heightening by 20 to 222 After distributing, remainder is 0x0 Apply size: menubar 420x50 Apply size: content 420x222 Apply size: right_bar 30x272 update_positions: root {0, 0} update_positions: left_bar {0, 0} update_positions: center {30, 0} update_positions: menubar {30, 0} update_positions: content {30, 50} update_positions: right_bar {450, 0}