title: Text type alignment
body: <p>I have a QML element as follows:</p>
  
  <pre><code>    Rectangle {
          x: 0
          y: 0
          width: rightDrawer.width
          height: 35
          color: "#35FE45"
          Text {
              text: "Settings"
              font.pixelSize: 19
              font.family: "AvantGarde-Medium"
              color: "#ffffff"
              smooth: true
              verticalAlignment: Text.AlignVCenter
          }
      }
  </code></pre>
  
  <p>Here despite me specifying the vertical alignment as align vertical centre, it still shows the text aligned to the top of the rectangle (see attached figure). I would like to align it to the vertical centre.</p>
  
  <p><a href="https://i.stack.imgur.com/lkFqo.png" rel="noreferrer"><img src="https://i.stack.imgur.com/lkFqo.png" alt="enter image description here"></a></p>