LooseAllTheMonies wrote: ↑July 29th, 2021, 4:35 pmBut don't understand how the meters know they are part of the group and should be updated? Is it because they inherit the group from the MeterStyle?
Precisely. In a way, groups and meter styles are similar in the sense that both can be "assigned" to multiple meters, making handling a large number of meters easier.
LooseAllTheMonies wrote: ↑July 29th, 2021, 4:35 pmAlso, how does the following work?
If it was Y=20R that would make sense to me because any meter that used this style would be offset 20 from the previous one in the Y direction but here it is 0 and also X uses 0r but none of the meters seem to offset in the x direction. This leads me believe lowercase r means stay relative to 0 in the X direction and capital R means relative in a different sense, but cant figure out what exactly, is that correct?
Well, I mentioned that you can read more
here earlier, didn't I?
That was a link, the idea was to read what's written there (just the orange section, so no more than 10 lines), because it's explained really well:
Relative positioning: If the value is appended with r, the position is relative to the top/left edge of the previous meter. If the value is appended with R, the position is relative to the bottom/right edge of the previous meter.
So, it has nothing to do with whether you apply it horizontally or vertically, just with the various coordinates of a preceding meter and the offset at which the current meter is positioned related to that. Basically:
- a meter is "anchored" to a point (which has coordinates), being positioned relative to that point - think of it like a "reference" (most of the times, that anchor point is the top-left corner of the meter, but for string meters it also depends on their alignment)
- in Rainmeter's relative positioning,
r means the offset I mentioned above is added to the
preceding meter's corresponding anchor coordinate, while
R means that the offset is aded to the
coordinates of [anchor+the preceding meter's corresponding dimension]
In other words:
- the X=0r means the X of the current meter will be the same as the X of the preceding meter (offset is 0, and since the preceding meter anchor is its top-left point due to "standard" alignment, offset is added to its X)
- the Y=0R means that the Y of the current meter will be the Y of the preceding meter's anchor (its top, since it's all about Y now) PLUS its height (again, since it's Y we talk about now, the vertical dimension is considered) - in other words it will be right under it, since coordinates in Rainmeter have their 0,0 "origin point" at the top-left corner of the active skin (i.e. the lower we get, the greater the Y value)
Hopefully you'll understand my explanation. If you don't, feel free to ask for clarification.