mirror of
https://github.com/lubosz/overte.git
synced 2025-04-08 14:42:19 +02:00
use standard radiobuttons with light color scheme
This commit is contained in:
parent
d3848ea0c5
commit
cdc9a325eb
1 changed files with 8 additions and 32 deletions
|
@ -161,16 +161,9 @@ Rectangle {
|
|||
ButtonGroup.group: leftRight
|
||||
checked: true
|
||||
|
||||
colorScheme: hifi.colorSchemes.light
|
||||
text: "Left hand"
|
||||
boxSize: 20
|
||||
|
||||
contentItem: TextStyle9 {
|
||||
text: leftHandRadioButton.text
|
||||
color: 'black'
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
leftPadding: leftHandRadioButton.indicator.width + leftHandRadioButton.spacing
|
||||
}
|
||||
}
|
||||
|
||||
HifiControlsUit.RadioButton {
|
||||
|
@ -180,16 +173,9 @@ Rectangle {
|
|||
Layout.column: 2
|
||||
ButtonGroup.group: leftRight
|
||||
|
||||
colorScheme: hifi.colorSchemes.light
|
||||
text: "Right hand"
|
||||
boxSize: 20
|
||||
|
||||
contentItem: TextStyle9 {
|
||||
text: rightHandRadioButton.text
|
||||
color: 'black'
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
leftPadding: rightHandRadioButton.indicator.width + rightHandRadioButton.spacing
|
||||
}
|
||||
}
|
||||
|
||||
RalewaySemiBold {
|
||||
|
@ -210,20 +196,17 @@ Rectangle {
|
|||
Layout.row: 1
|
||||
Layout.column: 1
|
||||
Layout.leftMargin: -18
|
||||
|
||||
ButtonGroup.group: onOff
|
||||
|
||||
colorScheme: hifi.colorSchemes.light
|
||||
checked: true
|
||||
|
||||
text: "ON"
|
||||
boxSize: 20
|
||||
}
|
||||
|
||||
contentItem: TextStyle9 {
|
||||
text: onRadioButton.text
|
||||
color: 'black'
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
leftPadding: onRadioButton.indicator.width + onRadioButton.spacing
|
||||
}
|
||||
HifiConstants {
|
||||
id: hifi
|
||||
}
|
||||
|
||||
HifiControlsUit.RadioButton {
|
||||
|
@ -232,17 +215,10 @@ Rectangle {
|
|||
Layout.row: 1
|
||||
Layout.column: 2
|
||||
ButtonGroup.group: onOff
|
||||
colorScheme: hifi.colorSchemes.light
|
||||
|
||||
text: "OFF"
|
||||
boxSize: 20
|
||||
|
||||
contentItem: TextStyle9 {
|
||||
text: offRadioButton.text
|
||||
color: 'black'
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
leftPadding: offRadioButton.indicator.width + offRadioButton.spacing
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue