#NEWLINE# @ cached_property #NEWLINE# def _get_width( self ) : #NEWLINE# #INDENT# ' Returns the requested width of the Group.\n        ' #NEWLINE# width = 0.0 #NEWLINE# for item in self . content : #NEWLINE# #INDENT# if ( item . width >= 1 ) : #NEWLINE# #INDENT# if ( self . orientation == 'horizontal' ) : #NEWLINE# #INDENT# width += item . width #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( self . orientation == 'vertical' ) : #NEWLINE# #INDENT# width = max ( width , self . width ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# if ( width == 0 ) : #NEWLINE# #INDENT# width = ( - 1.0 ) #NEWLINE# #UNINDENT# return width