Upon updating one of my skins, when I was checking the main config file which loads all the images used by the skin, I noticed something strange.
I wanted to add a few more icons to the theme and update the mentioned skin, so for every type of skin (OS, RAM, CPU etc) I should see 6 icons in total. This is when I realised that some of the icons weren't loading.
Here's what I discovered. If you implement the following code...everything works. Count is set to 7, and the indexing starts from 2.
But if you implement this code...one icon goes missing. Note that the only difference is that Count is set to 6, and the indexing starts from 1.
What is going on? Surely with 6 files in the folder, starting from index 1 going to 6, all 6 files should be visible? The info on the FileView plugin doesn't mention anything about having to start from 2 onwards, yet this is the only way I can get the entire skin to work...
I wanted to add a few more icons to the theme and update the mentioned skin, so for every type of skin (OS, RAM, CPU etc) I should see 6 icons in total. This is when I realised that some of the icons weren't loading.
Here's what I discovered. If you implement the following code...everything works. Count is set to 7, and the indexing starts from 2.
Code:
[BinPath]Measure=PluginPlugin=FileViewPath=#ResourcesPath#\BinCount=7[BinChild1]Measure=PluginPlugin=FileViewPath=[BinPath]Type=FileNameIndex=2[BinChild2]Measure=PluginPlugin=FileViewPath=[BinPath]Type=FileNameIndex=3[BinChild3]Measure=PluginPlugin=FileViewPath=[BinPath]Type=FileNameIndex=4[BinChild4]Measure=PluginPlugin=FileViewPath=[BinPath]Type=FileNameIndex=5[BinChild5]Measure=PluginPlugin=FileViewPath=[BinPath]Type=FileNameIndex=6[BinChild6]Measure=PluginPlugin=FileViewPath=[BinPath]Type=FileNameIndex=7
What is going on? Surely with 6 files in the folder, starting from index 1 going to 6, all 6 files should be visible? The info on the FileView plugin doesn't mention anything about having to start from 2 onwards, yet this is the only way I can get the entire skin to work...
Code:
[BinPath]Measure=PluginPlugin=FileViewPath=#ResourcesPath#\BinCount=6[BinChild1]Measure=PluginPlugin=FileViewPath=[BinPath]Type=FileNameIndex=1[BinChild2]Measure=PluginPlugin=FileViewPath=[BinPath]Type=FileNameIndex=2[BinChild3]Measure=PluginPlugin=FileViewPath=[BinPath]Type=FileNameIndex=3[BinChild4]Measure=PluginPlugin=FileViewPath=[BinPath]Type=FileNameIndex=4[BinChild5]Measure=PluginPlugin=FileViewPath=[BinPath]Type=FileNameIndex=5[BinChild6]Measure=PluginPlugin=FileViewPath=[BinPath]Type=FileNameIndex=6
Statistics: Posted by DanielPodo — January 30th, 2024, 7:25 pm — Replies 2 — Views 136