title: Not getting expected output in Maya python scripting for gui
body: <p>I am making a gui in maya using python script but i am not getting the expected output.</p>
  
  <p>I want to display that <code>Submit Button</code> outside the Tab layout but i am doing something wrong .Can anyone correct me  ?</p>
  
  <p>End of the first text field i want to add a button <code>choose</code> like added in expected output .</p>
  
  <p><strong>code:</strong></p>
  
  <pre><code>import maya.cmds as cmds
  
  # Make a new window
  
  window = cmds.window( title="Render", iconName='BTD', widthHeight=
  (400,500),titleBar=True,minimizeButton=True,maximizeButton=True )
  cmds.columnLayout( adjustableColumn=True)
  
  form = cmds.formLayout()
  tabs = cmds.tabLayout(innerMarginWidth=10, innerMarginHeight=10)
  cmds.formLayout(form,edit=True,attachForm=((tabs, 'top', 0), (tabs, 'left', 
  0), (tabs, 'bottom', 0), (tabs, 'right', 0)) )
  child1 = cmds.rowColumnLayout(numberOfColumns=2)
  cmds.button(label='1')
  cmds.button(label='2')
  cmds.button(label='3')
  cmds.button(label='9')
  cmds.button(label='9')
  cmds.button(label='9')
  cmds.button(label='9')
  cmds.button(label='9')
  cmds.setParent( '..' )
  
  
  child2 = cmds.rowColumnLayout(numberOfColumns=1,columnOffset = 
  (1,'left',10))
  #cmds.text("Output Directory",width = 50,height=50,font = "boldLabelFont")
  cmds.text("Output Directory",width=200, height=50,font="boldLabelFont", 
  align='left')
  name = cmds.textField(w = 300,h = 20)
  
  cmds.text("Notify on job completion",width = 200,height=50,font = 
  "boldLabelFont",align='left')
  name = cmds.textField(w = 370,h = 20)
  
  
  
  
  cmds.setParent( '..' )
  
  
  child3 = cmds.rowColumnLayout(numberOfColumns=2)
  cmds.button(label='7')
  
  
  cmds.button(label='8')
  cmds.button(label='9')
  cmds.setParent( '..' )
  
  cmds.tabLayout( tabs, edit=True, tabLabel=((child1, 'General'), (child2, 
  'Advanced'),(child3, 'Job Software')) )
  cmds.setParent( '..' )
  
  
  #cmds.setParent( '..' )   
  cmds.button("Submit Job",width=100, height=50, align='right') 
  
  cmds.showWindow( window )
  </code></pre>
  
  <p><strong>Output</strong> </p>
  
  <p><a href="https://i.stack.imgur.com/26KUv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/26KUv.png" alt="enter image description here"></a></p>
  
  <p><strong>Expected Output</strong></p>
  
  <p><a href="https://i.stack.imgur.com/bvCOM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bvCOM.png" alt="enter image description here"></a></p>