Skip to content
Snippets Groups Projects
Commit 8c4f0a07 authored by Jedi18's avatar Jedi18
Browse files

change togglebutton size, set textarea color to colors.text

parent b5e351ab
No related branches found
No related tags found
No related merge requests found
......@@ -113,8 +113,9 @@ ApplicationWindow {
wrapMode: TextEdit.WordWrap
readOnly: true
background: null
horizontalAlignment: TextEdit.AlignHCenter
selectByMouse: true
color: colors.text
horizontalAlignment: TextEdit.AlignHCenter
}
}
......
......@@ -8,10 +8,11 @@ Switch {
indicator: Item {
implicitWidth: 48
implicitHeight: 26
implicitHeight: 24
y: parent.height / 2 - height / 2
Rectangle {
height: parent.height/2
height: 3 * parent.height/4
radius: height/2
width: parent.width - height
x: radius
......@@ -22,11 +23,12 @@ Switch {
Rectangle {
x: toggleButton.checked ? parent.width - width : 0
y: parent.height / 2 - height / 2
width: parent.height
height: width
radius: width/2
color: toggleButton.down ? "whitesmoke" : "whitesmoke"
border.color: "#999999"
border.color: "#ebebeb"
}
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment