#NEWLINE# def preferred_height( self , cli , width , max_available_height ) : #NEWLINE# #INDENT# sizes = self . _divide_widths ( cli , width ) #NEWLINE# if ( sizes is None ) : #NEWLINE# #INDENT# return LayoutDimension ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# dimensions = [ c . preferred_height ( cli , s , max_available_height ) for ( s , c ) in zip ( sizes , self . children ) ] #NEWLINE# return max_layout_dimensions ( dimensions )