CountWindow < MainWindow
  id: countWindow
  !text: tr('Move Stackable Item')
  size: 196 122

  Label
    !text: tr('Amount:')
    text-auto-resize: true
    anchors.left: parent.left
    anchors.top: parent.top
    margin-top: 2

  SpinBox
    id: countSpinBox
    margin-left: 5
    anchors.left: prev.right
    anchors.right: parent.right
    anchors.top: parent.top

  HorizontalScrollBar
    id: countScrollBar
    anchors.left: parent.left
    anchors.right: parent.right
    anchors.top: prev.bottom
    margin-top: 8

  Button
    id: buttonOk
    !text: tr('Ok')
    width: 64
    anchors.right: next.left
    anchors.bottom: parent.bottom
    margin-right: 5

  Button
    id: buttonCancel
    !text: tr('Cancel')
    width: 64
    anchors.right: parent.right
    anchors.bottom: parent.bottom
