blob: cf5c731e9cacc6ee8b82ca4acc04c225940c60a3 (
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.bsBtnPrimaryColor
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
}
background: Rectangle {
color: Eduport.bsBtnBg
border {
width: Eduport.bsBtnBorderWidth
color: Eduport.bsBtnBorderColor
}
radius: Eduport.bsBtnBorderRadius
}
}
|