Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Adding a thin horizontal (separator) line?
#1
i'm trying to figure out a way to add a thin / light horizontal line in between the large movie title and the info that's underneath it (year | rating | length | end time)...

Image

this code gives me the exact line i want, prob is i can't get it to align properly in between the information mentioned above...

Code:
<control type="image">
<width>100%</width>
<height>5</height>
<texture colordiffuse="main_fg_12">diffuse/progress-bg.png</texture>
<visible>true</visible>
</control>

i tried adding it to this section of the existing code, and played around with $param[pad], height, aligny, etc. but couldn't get it to work:

Code:
<include name="Object_Info_Title">
<param name="label" default="$INFO[ListItem.Label]" />
<param name="font" default="font_title_large" />
<param name="titleheight" default="150" />
<param name="textcolor" default="main_fg_70" />
<definition>
<control type="label">
<top>10</top>
<label>$PARAM[label]</label>
<height>$PARAM[titleheight]</height>
<aligny>top</aligny>
<textcolor>$PARAM[textcolor]</textcolor>
<font>custom00</font>
</control>
</definition>
</include>


EDIT - solved... i ended up adding a blank label below the separator line which allowed me to space the the distance between the line and label below it, probably not the most elegant solution but it seems to work...

Image

Image

Image
Reply

Logout Mark Read Team Forum Stats Members Help
Adding a thin horizontal (separator) line?0