#NEWLINE# def onWindowResized( self , width , height ) : #NEWLINE# #INDENT# self . cp1 . setHeight ( ( '%dpx' % ( self - 30 ) ) ) #NEWLINE# self . cp2 . setHeight ( ( '%dpx' % ( height - 30 ) ) ) #NEWLINE# self . rps . setHeight ( ( '%dpx' % ( height - 30 ) ) ) #NEWLINE# self . horzpanel1 . setHeight ( ( '%dpx' % ( height - 20 ) ) )