2020-06-06, 02:43
(2020-06-05, 22:08)beatmasterrs Wrote:(2020-06-05, 20:56)junitodx Wrote:(2020-06-05, 19:40)beatmasterrs Wrote: Can you provide a screenshot of what you mean exactly?Yes sir. I'd actually like to make the white focus border indicated below maybe half as thick as they are now. I think it would look a little more elegant if it was closer in thickness to say the default borders around the other movies in the screenshot. Also, oddly enough, there are a few instances where the focus border either covers or at least touches some of the movie poster text depending on where the text is placed on the poster.
You're right, I can just see that the boxes are not centered properly either. Ok to modify the boxes, open: View_510_Minimal.xml and look for image-controls with:
xml:common/selectbox.png
inside. This is the png for the select boxes. E.g. https://github.com/beatmasterRS/skin.arc...#L467-L476
xml:<control type="image">
<left>5</left>
<top>0</top>
<right>-20</right>
<bottom>-23</bottom>
<animation easing="inout" effect="zoom" end="90" start="100" time="0" tween="sine" condition="true">Conditional</animation>
<texture colordiffuse="$VAR[ColorSquares]" border="20">common/selectbox.png</texture>
<animation center="auto" condition="Control.HasFocus(510)" effect="fade" end="100" start="0" time="250">Focus</animation>
<animation center="auto" condition="Control.HasFocus(510)" effect="fade" end="0" start="100" time="50">UnFocus</animation>
</control>
Edit the zoom-animation values, e.g.:
xml:<animation easing="inout" effect="zoom" end="70" start="100" time="0" tween="sine" condition="true">Conditional</animation>
end="70" is the reduced size in percent. Then edit the following to your needs:
After all that, save the file, reload the skin or restart kodi for changes to take effect.xml:<left>5</left>
<top>0</top>
<right>-80</right>
<bottom>-23</bottom>
Maybe you can post a before-and-after result of your work
How's she look so far
I am having a problem getting the right value for the bottom tag. I was incrementally increasing the negative number to drop it further down but then oddly enough when I got to about -115 it almost looked like the bottom border started to hide behind the bottom half of the poster. The above pic is with a bottom value of -115 and you can just barely see part of the bottom border. If I switch to -116 the bottom border it completely gone. These are the values I am using in the above screenshot:
<control type="image">
<left>9</left>
<top>3</top>
<right>-411</right>
<bottom>-115</bottom>
<animation easing="inout" effect="zoom" end="30" start="100" time="0" tween="sine" condition="true">Conditional</animation>
<texture colordiffuse="$VAR[ColorSquares]" border="20">common/selectbox.png</texture>
<animation center="auto" condition="Control.HasFocus(510)" effect="fade" end="100" start="0" time="250">Focus</animation>
<animation center="auto" condition="Control.HasFocus(510)" effect="fade" end="0" start="100" time="50">UnFocus</animation>
</control>