mirror of
https://github.com/overte-org/overte.git
synced 2025-08-13 06:18:39 +02:00
Move RadioButton
This commit is contained in:
parent
2fbd0a41b1
commit
f5f19ea67f
2 changed files with 6 additions and 2 deletions
|
@ -36,7 +36,7 @@ Original.RadioButton {
|
|||
|
||||
onHoveredChanged: {
|
||||
if (hovered) {
|
||||
tabletInterface.playSound(TabletEnums.ButtonHover);
|
||||
Tablet.playSound(TabletEnums.ButtonHover);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -45,6 +45,8 @@ Original.RadioButton {
|
|||
width: boxSize
|
||||
height: boxSize
|
||||
radius: 7
|
||||
x: radioButton.leftPadding
|
||||
y: parent.height / 2 - height / 2
|
||||
gradient: Gradient {
|
||||
GradientStop {
|
||||
position: 0.2
|
||||
|
@ -77,6 +79,8 @@ Original.RadioButton {
|
|||
text: radioButton.text
|
||||
size: hifi.fontSizes.inputLabel
|
||||
color: isLightColorScheme ? hifi.colors.lightGray : hifi.colors.lightGrayText
|
||||
x: radioButton.boxSize / 2
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
leftPadding: radioButton.indicator.width + radioButton.spacing
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue