summaryrefslogtreecommitdiff
path: root/AccountForm.ui.qml
blob: 8a41e0bf06d895133325b79ecd61cdb4813f6759 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Controls.Material 2.15

Rectangle {
	property alias skuTextField: addProduct
	property alias submitButton: submit
	color: "#121212"
	border.color: "#00000000"

	TextField {
		id: addCustomer
		height: 56
		color: "#deffffff"
		placeholderText: "Add Customer"
		placeholderTextColor: "#99ffffff"
		anchors.left: parent.left
		anchors.right: parent.right
		anchors.top: parent.top
		font.pixelSize: 20
		verticalAlignment: Text.AlignVCenter
		font.family: "Roboto Mono"
		selectionColor: "#ffffff"
		anchors.rightMargin: 16
		anchors.leftMargin: 16
		anchors.topMargin: 16
	}

	TextField {
		id: addProduct
		height: 56
		color: "#deffffff"
		placeholderText: "Add Product"
		placeholderTextColor: "#99ffffff"
		anchors.left: parent.left
		anchors.right: parent.right
		anchors.top: addCustomer.bottom
		font.pixelSize: 20
		verticalAlignment: Text.AlignVCenter
		selectionColor: "#ffffff"
		anchors.rightMargin: 16
		anchors.leftMargin: 16
		font.family: "Roboto Mono"
		anchors.topMargin: 16
	}

	Button {
		id: submit
		text: "Tagih"
		anchors.left: parent.left
		anchors.right: parent.right
		anchors.bottom: parent.bottom
		flat: true
		font.capitalization: Font.MixedCase
		font.family: "Roboto Mono"
		anchors.rightMargin: 16
		anchors.leftMargin: 16
		anchors.bottomMargin: 16
		background: Rectangle {
			implicitHeight: 30
			radius: 4
		}
	}
}