summaryrefslogtreecommitdiff
path: root/Button/Btn.ui.qml
blob: f841b544a6314da4df4cd068c4725f85b0e046f8 (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
import QtQuick 2.15
import QtQuick.Controls 2.15
import Eduport 1.4

Button {
	id: button
	horizontalPadding: Eduport.bsBtnPaddingX
	verticalPadding: Eduport.bsBtnPaddingY
	font: Eduport.bsBtnFont
	contentItem: Text {
		text: button.text
		font: button.font
		color: Eduport.bsBtnColor
		horizontalAlignment: Text.AlignHCenter
		verticalAlignment: Text.AlignVCenter
	}
	background: Rectangle {
		color: Eduport.bsBtnBg
		border {
			width: Eduport.bsBtnBorderWidth
			color: Eduport.bsBtnBorderColor
		}
		radius: Eduport.bsBtnBorderRadius
	}
}