title: Positionating a layout over the top of a Central Widget in Python
body: <p>I'm having some problems with the Central Widget, I'm trying to positionate the LabelTitle overlapping the top of the central widget, so it would look like a small box title, but for some reason I can't figure out how to stretch the space between the layout and the top of the central widget.</p>
  <p>I tried using a Frame, or the layout.setRowStretch but it didn't work for me</p>
  <pre><code>class WindowEtiquette(QMainWindow):
      def __init__(self):
          super().__init__()
          self.setFixedSize(460, 350)
          
          self._add_widgets()
          
      def _add_widgets(self):
          self.CuadroLayout = QGridLayout()
          
          #Generando elementos y layouts
          
          self.TituloLayout = QGridLayout()
          self.labelTitulo = QLabel(&quot;Formato de la dirección&quot;)
          self.labelTitulo.setObjectName(&quot;EtiquetaTitulo&quot;)
          self.TituloLayout.addWidget(self.labelTitulo, 0, 0, Qt.AlignCenter)
          
         
          self.CuadroLayout.addLayout(self.TituloLayout, 0, 0, alignment=Qt.AlignTop)   
  
          self.widgetCentral = QWidget()
          self.widgetCentral.setObjectName(&quot;FondoEtiqueta&quot;)
          self.widgetCentral
          
          self.widgetCentral.setLayout(self.CuadroLayout)
          self.setCentralWidget(self.widgetCentral)      
  </code></pre>
  <p>The objects name are in a CSS File, and I don't add any margins or paddings in them</p>
  <p><img src="https://i.stack.imgur.com/o0QdD.png" alt="enter image description here" /></p>
  <p>I know maybe I shouldn't worry too much about the GUI, but I wanted to see if I could solve that problem</p>