title: Center the label in a ComboBox element with a custom ComboBoxStyle
body: <p>I am using <code>QtQuick.Controls 1.0</code> and <code>QtQuick.Controls.Styles 1.0</code> and I can't find a way to properly align the label of the <code>ComboBox</code> vertically and on the right.</p>
  
  <p>This is my current code</p>
  
  <pre><code>import QtQuick 2.0
  import QtQuick.Controls 1.0
  import QtQuick.Controls.Styles 1.0
  
  
  ComboBox {
    id: comboCategories
    width: 230
    height: 30
  
    style: ComboBoxStyle {
      background: Rectangle {
        id: rectCategory
        width: comboCategories.width
        height: comboCategories.height
        color: "white"
      }
  
      label: Text {
        anchors.verticalCenter: parent.verticalCenter
        anchors.right: background.right
        font.pointSize: 12
        color: "#808080"
        text: control.currentText
      }
    }
  }
  </code></pre>
  
  <p>But the label stays in the top left of my element and does not seem to be affected by the anchors. I also tried to replace <code>parent</code> with <code>control</code> or <code>background</code> with no effect</p>