make title scrolling consistent

This commit is contained in:
sevenrats 2023-01-31 12:27:00 -05:00
parent d26ad4a181
commit c007bfde05
2 changed files with 11 additions and 2 deletions

View File

@ -22,6 +22,12 @@ sub showContent()
end sub
sub focusChanged()
if m.top.itemHasFocus = true
m.name.repeatCount = -1
else
m.name.repeatCount = 0
end if
if m.deviceInfo.IsAudioGuideEnabled() = true
txt2Speech = CreateObject("roTextToSpeech")
txt2Speech.Flush()

View File

@ -8,8 +8,11 @@
<children>
<LayoutGroup layoutDirection="vert" >
<Poster id="posterImg" width="234" height="300" translation="[8,243]" failedBitmapUri="pkg:/images/baseline_person_white_48dp.png" />
<ScrollingLabel id="pLabel" horizAlign="center" vertAlign="bottom" maxWidth="266" font="font:SmallestBoldSystemFont" height="48" />
<ScrollingLabel id="pLabel"
horizAlign="center" vertAlign="bottom"
maxWidth="266" height="48"
font="font:SmallestBoldSystemFont" repeatCount="0"/>
<Label id="SubTitle" horizAlign="center" vertAlign="center" font="font:SmallestBoldSystemFont" height="32" color="#A7A7A7FF" />
</LayoutGroup>
</LayoutGroup>
</children>
</component>