#NEWLINE# def GetContentsMargins( self ) : #NEWLINE# #INDENT# ' Get the contents margins for the group box.\n\n        These margins are computed empirically so that they look similar\n        to the margins provided by Qt on Windows.\n\n        Returns\n        -------\n        result : tuple\n            The top, right, bottom, and left margin values.\n\n        ' #NEWLINE# label = self . _label #NEWLINE# height = label . GetCharHeight ( ) #NEWLINE# if ( not label . IsShown ( ) ) : #NEWLINE# #INDENT# height /= 2 #NEWLINE# #UNINDENT# return ( self , 1 , 1 , 1 )