#NEWLINE# def ext_options( self , **d ) : #NEWLINE# #INDENT# if d . label : #NEWLINE# #INDENT# if ( not isinstance ( self . parent , TabPanel ) ) : #NEWLINE# #INDENT# self . update ( title = self . label ) #NEWLINE# self . value_template = 'new Ext.form.FieldSet(%s)' #NEWLINE# self . update ( frame = False ) #NEWLINE# self . update ( bodyBorder = True ) #NEWLINE# self . update ( border = True ) #NEWLINE# #UNINDENT# #UNINDENT# d = Container . ext_options ( self , ** d ) #NEWLINE# d . update ( autoScroll = False ) #NEWLINE# if self . is_fieldset : #NEWLINE# #INDENT# d . update ( labelWidth = ( self . label_width * EXT_CHAR_WIDTH ) ) #NEWLINE# #UNINDENT# if ( ( self . parent is None ) or ( ( len ( self . elements ) > 1 ) and self . vertical ) ) : #NEWLINE# #INDENT# '\n            The `self.parent is None` test is e.g. for Parameter\n            Panels which are usually not vertical but still want a frame\n            since they are the main panel.\n            ' #NEWLINE# d . update ( frame = True ) #NEWLINE# d . update ( bodyBorder = False ) #NEWLINE# d . update ( border = False ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# d . update ( frame = False ) #NEWLINE# d . update ( border = False ) #NEWLINE# #UNINDENT# return d