So, i want to turn the launcher (links) of a skin sideways basically. So instead of aligning horizontally across the top or bottom of the screen, the links align run down the side of the screen. Like if i took the whole thing and rotated it left (or right) 90°, but in the correct way so the links are still side-by-side and aren't all on top of each other.
Here's the link to the suite: https://www.deviantart.com/hiphopium/art/Stylistic-768748630
Here's the code for the Links skin part of this suite:
Can someone tell me where i should insert which code or what i need to do here? I'm sure it's something simple but i can't figure it out yet. Thanks in advance.
I think it's not so easy, because it is a matter of skin design... but anyway;
First, insert a VSpacing=50 line to the [Variables] section.
Second, replace X= and Y= lines in every "[*Passive]" meter after [MeterLink2ButtonPassive] with;
Don't replace the line in [MeterLink1ButtonPassive], because it is a start point. And, value of VSpacing represents the vertical spacing of the links, so you can modify it as you want.
Ah... I am not sure whether this way works or not after changing the skin scale with mouse scroll wheel, maybe not, sorry.
mak_kawa wrote: ↑August 13th, 2020, 7:32 amAh... I am not sure whether this way works or not after changing the skin scale with mouse scroll wheel, maybe not, sorry.
Add a HSpacing=0 line in [Variables] section.
And, replace a X= line in every "[*Passive]" meter after [MeterLink2ButtonPassive] with X=(#HSpacing#*#Scale#)r.
So what? When you set HSpacing=0 and VSpacing=50 (or some), links are horizontally arranged, and when VSpacing=0 and HSpacing=150 (or some), links are vertically arranged. Isn't this nice?
Last edited by mak_kawa on August 13th, 2020, 11:28 am, edited 1 time in total.
mak_kawa wrote: ↑August 13th, 2020, 11:11 am
Hi DrRoboculousand Yincognito
Now some trick has come to my mind...
Add a HSpacing=0 line in [Variables] section.
And, replace a X= line in every "[*Passive]" meter after [MeterLink2ButtonPassive] with X=(#HSpacing#*#Scale#)r.
So what? When you set HSpacing=0 and VSpacing=50 (or some), links are horizontally arranged, and when VSpacing=0 and HSpacing=150 (or some), links are vertically arranged. Isn't this nice?
Oh yes it is. See now why I always look to set things easily from the [Variables] section in my codes? One or two changes there and you changed the skin behavior completely. No need to edit a ton of measures / meters afterwards, if you built the skin like that from the start...
To be honest this skin is extremelly weird writte. There are more string meter pairs, the first of them named Passive, while the second ones named Active (for instance [MeterLink1ButtonPassive] and its pair, [MeterLink1ButtonActive]). From these meters, the Active meters are hidden, while the Passive are shown. When you're hovering the mouse over any of the Passive meters, it is hidden and the corresponding Active meter is shown. when you're leaving it, the opposite action takes place: the Active meter is hidden, while the Passive is shown. Obviously the two corresponding meters have the same Text, but a few other options are different (for instance their size).
Much more reliable in my opinion (and much simpler) would be to have one single string meter and change its options when the mouse is hovered over it, then change it back when the mouse leaves it.
Another interesting thing, which doesn't make too much sense: the X and Y options of the Active meters are set to X=(0*#Scale#)r and Y=(0*#Scale#)r. The much simpler X=0r and Y=0r are much more logical. Zero multiplied by anything is still zero, so (0*#Scale#) makes no sense.
JRiver Media Player is by far the best media handler I have used or coded for - it has all of the options and the year works, unlike AIMP where the year does not work...
There are many ways to be different - there is only one way to be yourself - be amazing at it
The law of averages says what it means; even if you get everything right, you will get something wrong. Therefore; self managing error trapping initiates another set of averages - amongst the errors, some of them will not be errors, instead those instances will appear to be "luck". One cannot complain of the 'appearance' of 'infinite regress of causation', even if it does not have a predictable pattern, only that it requires luck to achieve.
Mor3bane wrote: ↑August 13th, 2020, 5:44 pm
JRiver Media Player is by far the best media handler I have used or coded for - it has all of the options and the year works, unlike AIMP where the year does not work...
Worth exploring IMHO.
JRiver has versatile colour schemes that are fully customisable, huge array of playback options, and supports flac which is a lossless media file type.
Amongst these things, it is fast and light weight when running, the list goes on...
There are many ways to be different - there is only one way to be yourself - be amazing at it
The law of averages says what it means; even if you get everything right, you will get something wrong. Therefore; self managing error trapping initiates another set of averages - amongst the errors, some of them will not be errors, instead those instances will appear to be "luck". One cannot complain of the 'appearance' of 'infinite regress of causation', even if it does not have a predictable pattern, only that it requires luck to achieve.
You are absolutely right indeed... but the original code works anyway.
DrRoboculous, I have modified/restructured your code according with balala's suggestion. Hope it would work as you intend. Set variables HSpacing and VSpacing as you like.