Can't set translation position for Label node
I'm trying to set the position of a Label node using a relative translation but it doesn't seem to work
Is this expected for some reason that's not documented or that I missed in the documentation?
I'm trying to slightly shift "InfoTip" downwards
<children>
<Rectangle id = "Blocking"
translation = '[0,300]'
width = "1920"
height = "308"
color = "0x000000D0"
/>
<LayoutGroup id = "SettingsGroup"
translation = "[120,300]"
layoutDirection = "horiz"
vertAlignment = "top"
>
<LabelList id = "SettingsList"
numRows = "5"
vertFocusAnimationStyle = "floatingFocus"
>
<ContentNode role = "content" />
</LabelList>
<Group id = "SettingOptionsGroup"
>
<RadioButtonList id = "CalibreLibrarySource"
vertFocusAnimationStyle = "floatingFocus"
>
<ContentNode role = "content" />
</RadioButtonList>
<RadioButtonList id = "ScrollSpeed" visible = "false"
vertFocusAnimationStyle = "floatingFocus">
<ContentNode role = "content" />
</RadioButtonList>
<RadioButtonList id = "BookCoverSize" visible = "false"
vertFocusAnimationStyle = "floatingFocus">
<ContentNode role = "content" />
</RadioButtonList>
</Group>
<Label id = "InfoTip"
translation = "[0,24]"
visible = "true"
text = "Starting text"
color = "0xdd00ddff"
font = "font:MediumSystemFont"
vertAlign = "top"
/>
</LayoutGroup>
</children>
Your rectangle at top is using single quote ' instead of double quotes around the translation field.
You also made a layout group. The label you are trying to adjust is within that first layout group. When items are within a layout group they will not be able to use translation. They will have to have another layout group nested for that label. Then that layout group you can adjust by the itemspacings.
Put the label that has info tip into a second layout group all by itself. Then use 24 as the itemspacing for the first item in itemspacings (ie, itemspacings="[24]"). Make sure it is set to layoutDirection="vert" and you have addItemSpacingAfterChild="false". You want it to add the itemspacing before the child so it moves the 24 pixels down.
https://developer.roku.com/docs/references/scenegraph/layout-group-nodes/layoutgroup.md
You need to remember when inside a layout group individual items cannot have translations take effect. They will respect their layout groups they are within.