INTERACT FORUM

More => Old Versions => JRiver Media Center 28 for Windows => Topic started by: ~:Eternal Themer:~ on January 02, 2022, 11:26:39 am

Title: -
Post by: ~:Eternal Themer:~ on January 02, 2022, 11:26:39 am
-
Title: Re: Problem with List_Selection.png SIZE
Post by: EnglishTiger on January 02, 2022, 12:15:00 pm
Have you read thru both skinning tutorials as they will give you the information you need to be able to change the size (dimensions) of the area that part of the skin is to cover.
Title: Re: Problem with List_Selection.png SIZE
Post by: ~:Eternal Themer:~ on January 02, 2022, 12:35:13 pm
-
Title: Re: Problem with List_Selection.png SIZE
Post by: marko on January 02, 2022, 12:41:15 pm
Look in the "default skin items\Standard View" folder...

There are three "Border_" files in there. You need to mess with those to get the centering exact, it's not easy...

maybe easier to just let it go :)

Good luck.
Title: Re: Problem with List_Selection.png SIZE
Post by: ~:Eternal Themer:~ on January 02, 2022, 12:45:42 pm
-
Title: Re: Problem with List_Selection.png SIZE
Post by: marko on January 02, 2022, 01:02:10 pm
if you mean (main and frame) borders are for other purpose
Seriously?? ;)

Let's try that again, I assumed too much:

From your MC installation folder, go to "Data\Default Skin Items\Standard View"
In there, you will see three files named:
Border_DropShadow.png
Border_Frame.png
Border_GlowShadow.png

These files draw the frames and shadows around list items in thumbs mode.
List_Selection.png simply marks that entire space as 'selected'.

You can copy these files to your own skin, and then, use the "<BORDER>" section in your own xml to manipulate their behaviour.
Code: [Select]
<BORDER>
  <Entry Name="GlowShadow" Bitmap="Border_GlowShadow.png" Rows="5,?-Flex,9" Columns="7,?-Flex,7" Cells="B2-Skip">
    <Data InternalMarginLeft="5" InternalMarginTop="3" InternalMarginRight="5" InternalMarginBottom="7"></Data>
  </Entry>
  <Entry Name="DropShadow" Bitmap="Border_DropShadow.png" Rows="3,?-Flex,7" Columns="5,?-Flex,5" Cells="B2-Skip">
    <Data InternalMarginLeft="5" InternalMarginTop="3" InternalMarginRight="5" InternalMarginBottom="7"></Data>
  </Entry>
  <Entry Name="Frame" Bitmap="Border_Frame.png" Rows="7,?-Flex,11" Columns="9,?-Flex,9" Cells="B2-Skip">
    <Data InternalMarginLeft="9" InternalMarginTop="7" InternalMarginRight="9" InternalMarginBottom="11"></Data>
  </Entry>
</BORDER>

The 'slightly off-center' thing has been there a looong time.
Personally, I pushed for separate "List_Detail_Selection" and "List_Thumb_Selection" images as I found it limiting having to strike a balance that worked for both view styles in a single selection png file.
Title: Re: Problem with List_Selection.png SIZE
Post by: marko on January 02, 2022, 01:28:20 pm
there were at least two edits to the above post, sorry about that. It should be correct now :)
Title: Re: Problem with List_Selection.png SIZE
Post by: ~:Eternal Themer:~ on January 02, 2022, 01:40:14 pm
-
Title: -
Post by: ~:Eternal Themer:~ on January 02, 2022, 02:00:04 pm
-