2020-09-22, 22:36
(2020-09-22, 22:29)HugoL Wrote:Made the width into 100% and adjusted the alignment into right. Default was center which makes the text not fit for some resolutions since it was centered. Making it aligned right makes the text stay on the right side regardless of the resolution.(2020-09-22, 20:23)ronnel Wrote: Found the fix for red triangle overlay not showing full percentage in the home menu 'Continue Watching' widget.
IncludesViews.xml
around line 1390 - 1408
<control type="group">
<description>In progress Overlay</description>
<visible>ListItem$PARAM[listitem].IsResumable + Skin.HasSetting(WatchedIndicator.Progress)</visible>
<visible>!ListItem$PARAM[listitem].IsPlaying + !ListItem$PARAM[listitem].IsRecording</visible>
<control type="image">
<texture background="true">$PARAM[overlay_texture]</texture>
<colordiffuse>$INFO[Skin.String(WatchedIndicator.Progress.Color)]</colordiffuse>
</control>
<control type="label">
<right>0</right>
<top>0</top>
<align>right</align>
<font>$PARAM</font>
<width>100%</width>
<height>45%</height>
<label>$INFO[ListItem$PARAM[listitem].PercentPlayed]%</label>
<textcolor>$INFO[Skin.String(WatchedIndicator.Progress.TextColor)]</textcolor>
</control>
</control>
So what is your actual edit here. Can't be bothered to search in the xmls right now. And does it look better than mine? If so, I'll just revert back and do it your way.