import QtQuick 2.0 import QtQuick.Controls 1.0 import QtQuick.Controls.Styles 1.1 Rectangle { width: 200 height: 200 SpinBox { value: 50 anchors.centerIn: parent font { family: "Arial" pixelSize: 36 } style: SpinBoxStyle { incrementControl: Rectangle { implicitHeight: control.height / 2 implicitWidth: 36 border { color: "red" width: 2 } } decrementControl: Rectangle { implicitHeight: control.height / 2 implicitWidth: 24 border { color: "blue" width: 2 } } } } }