It is currently May 4th, 2024, 1:07 am

Container masking issue

Get help with creating, editing & fixing problems with skins
User avatar
death.crafter
Rainmeter Sage
Posts: 1399
Joined: April 24th, 2021, 8:13 pm

Re: Container masking issue

Post by death.crafter »

Slotter In wrote: May 23rd, 2021, 8:17 pm WoW! I never expected you would put so much work into cleaning it up! Thank you so much! It looks amazing and even the small details like the back arrow :thumbup:

Thank you so much for your time and patience :D
Glad you liked it. :great:
from the Realm of Death
User avatar
CodeCode
Posts: 1366
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

Re: Container masking issue

Post by CodeCode »

@death.crafter

Hey this is really great. I was actually going to start making one, but this thread came up.

I am having trouble getting the list to show 7 drives.
I am finding all 7 drive icons in the #@#Icons folder.
I added these:

Code: Select all

[Index7]
Meter=Image
MeterStyle=HighlightStyle

[Index7Icon]
Meter=Image
MeasureName=mIndex7Icon
MeterStyle=IconStyle

[Index7Info]
Meter=String
MeasureName=mIndex7Name
MeterStyle=TextStyle | InfoStyle
w=300
clipstring=2

Code: Select all

;----------------------------------------------------
; Index 7

[mIndex7Name]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=FileName
Index=7
Group=Children

[mIndex7Icon]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=Icon
IconSize=#IconSize#
Index=7
IconPath=#@#Icons\icon7.ico
Group=Children
I am just missing something...
I also made the background shape longer but the seventh drive is not being seen.

Thanks for any help, until then I will be sorting through for what is capping the drive list to six drives.
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
User avatar
Slotter In
Posts: 11
Joined: December 31st, 2015, 8:34 pm

Re: Container masking issue

Post by Slotter In »

I have no experience with using a formula in this way, may I ask how I can increase the height? It seems to only do this with REALLY annoyingly long file names
Formula=([#mPathBool]=0 ? (120+Clamp(([mFolderCount]+[mFileCount]-1)*65, 0, 320)) : (120+Clamp(([mFolderCount]+[mFileCount])*65, 0, 320)))
You do not have the required permissions to view the files attached to this post.
User avatar
CodeCode
Posts: 1366
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

Re: Container masking issue

Post by CodeCode »

THe simple change of height is determined by a couple things. One of them is in the formula you queried. So, for just that, change the 320 value by increments of 50, which is the default space on the Y axis each row takes up with a little space.

To have more rows than death originally coded, is what my question was about, so for that part I am still working on. GL :)
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
User avatar
death.crafter
Rainmeter Sage
Posts: 1399
Joined: April 24th, 2021, 8:13 pm

Re: Container masking issue

Post by death.crafter »

Slotter In wrote: May 24th, 2021, 3:42 am I have no experience with using a formula in this way, may I ask how I can increase the height? It seems to only do this with REALLY annoyingly long file names
Formula=([#mPathBool]=0 ? (120+Clamp(([mFolderCount]+[mFileCount]-1)*65, 0, 320)) : (120+Clamp(([mFolderCount]+[mFileCount])*65, 0, 320)))
When I tried a file with really long file name it clipped. But for you it's showing up...
In [InfoStyle] use

StringAlign=LeftCenter

And try not to position the icons relatively, since you are using a limited number of items you can do that easily. The reason being the second icon and so on will be relative to the file name info which doesn't stay the same.
And yes look into ClipString=2. That would be helpful in file names being too large.
from the Realm of Death
User avatar
death.crafter
Rainmeter Sage
Posts: 1399
Joined: April 24th, 2021, 8:13 pm

Re: Container masking issue

Post by death.crafter »

CodeCode wrote: May 24th, 2021, 3:24 am @death.crafter

Hey this is really great. I was actually going to start making one, but this thread came up.

I am having trouble getting the list to show 7 drives.
I am finding all 7 drive icons in the #@#Icons folder.
I added these:

Code: Select all

[Index7]
Meter=Image
MeterStyle=HighlightStyle

[Index7Icon]
Meter=Image
MeasureName=mIndex7Icon
MeterStyle=IconStyle

[Index7Info]
Meter=String
MeasureName=mIndex7Name
MeterStyle=TextStyle | InfoStyle
w=300
clipstring=2

Code: Select all

;----------------------------------------------------
; Index 7

[mIndex7Name]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=FileName
Index=7
Group=Children

[mIndex7Icon]
Measure=Plugin
Plugin=FileView
Path=[mPath]
Type=Icon
IconSize=#IconSize#
Index=7
IconPath=#@#Icons\icon7.ico
Group=Children
I am just missing something...
I also made the background shape longer but the seventh drive is not being seen.

Thanks for any help, until then I will be sorting through for what is capping the drive list to six drives.
If you are using the skin made by Slotter In then in FileView.inc in @Resources\Includes there is a measure named mPath. You need to change Index=7 there. Or any number of Items you want to show.
from the Realm of Death
User avatar
CodeCode
Posts: 1366
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

Re: Container masking issue

Post by CodeCode »

death.crafter wrote: May 24th, 2021, 4:47 am If you are using the skin made by Slotter In then in FileView.inc in @Resources\Includes there is a measure named mPath. You need to change Index=7 there. Or any number of Items you want to show.
I am using the code you packed into an .rmskin.

Yes, I did see that - forgot to mention it. It is indeed changed to a "7".

I think it is somehow a container masking it out, just struggling with finding the parameter responsible.
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
User avatar
CodeCode
Posts: 1366
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

Re: Container masking issue

Post by CodeCode »

Heya, I found it the

Code: Select all

[TextMask]
Meter=Image
H=493
W=383
SolidColor=0,0,0
Height needed to be increased.
From what I am seeing the increase of 50 is good for each index more than you provided is good, but may be different by a pixel or two to the individuals tastes.
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
User avatar
death.crafter
Rainmeter Sage
Posts: 1399
Joined: April 24th, 2021, 8:13 pm

Re: Container masking issue

Post by death.crafter »

CodeCode wrote: May 24th, 2021, 5:05 am Heya, I found it the

Code: Select all

[TextMask]
Meter=Image
H=493
W=383
SolidColor=0,0,0
Height needed to be increased.
From what I am seeing the increase of 50 is good for each index more than you provided is good, but may be different by a pixel or two to the individuals tastes.
Without the gaps yes... 50 is what the size of each element is
from the Realm of Death
User avatar
Slotter In
Posts: 11
Joined: December 31st, 2015, 8:34 pm

Re: Container masking issue

Post by Slotter In »

Ah yes! Changing the 320 was what I was looking for thank you. After playing with it I think I will just change the ClipString instead to look cleaner.

One thing I noticed was that the highlights would still show for every index, even if only 1 file is in the folder. I solved this by adding [!UpdateMeter "TextMask"] to the [MeasureBackHeight] and changing the mask to

Code: Select all

[TextMask]
Meter=Image
H=[MeasureBackHeight]
W=383
SolidColor=0,0,0
DynamicVariables=1
Figured I would post this since CodeCode is going to be using this as well :great:

Thank you again both of you so much!