Move RadioButton

This commit is contained in:
vladest 2017-12-28 15:53:16 +01:00
parent 2fbd0a41b1
commit f5f19ea67f
2 changed files with 6 additions and 2 deletions

View file

@ -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.