bhs67 wrote: ↑April 20th, 2024, 12:39 pm
This is what I see with -> [MeterTime] ... X=230
{image clipped}
This is what I see when I change -> [MeterTime] ... X=0
{image clipped}
Rainmeter is making an incorrect assumption about the monitor size. How do I fix that?
Rainmeter is doing exactly what you are telling it to do.
Your code changes are saying to "Center the text starting at zero pixels from the left side of the skin."
When you "center" the string at zero pixels, everything to the left of zero is not visible.
You have 2 options to modify the [MeterTime] section and get your desired result:
1.) Change the X value to: X=115
This will place the string meter text CENTERED at 115 pixels from the left side of the skin (setting it to zero is why it appears "cut off").
2.) Change the X value to: X=0 AND
Change StringAlign=CENTER to: StringAlign=LEFT
This will place the string text at the left side of the skin (zero pixels) and align it to the left edge of the skin.
bhs67 wrote: ↑April 20th, 2024, 12:39 pm
Rainmeter is making an incorrect assumption about the monitor size.
Rainmeter is not making assumptions at all, so in addition to eclectic-tech's reply, there is something he didn't emphasize enough, I think: there is no way to make visible something which goes left of the left edge of the skin. Parts of meters with negative coordinates, can't be seen (those are going outside of the skin, to left). Same way, can't be seen the parts of skins going vertically above the upper edge of the skin.
This is why eclectic-tech suggested to either set the meter left aligned, not to have parts coming out to left from the skin, or to leave it centre aligned, but move it to right, to let its left half also inside of the skin.
Small note to what eclectic-tech and balala mentioned above: I see from your screenshot that you use a smaller FontSize for MeterTime than in the original code (40 vs 74), probably to match the font size of your weather related skin seen above in the screenshot. Also, it seems you modified the Format used in MeasureTime and MeasureDate, to use a shorter date text. These things will affect the proposed solution by eclectic-tech (I won't bother explaining why, since you're not interested in the Rainmeter nomenclature anyway), so I suggest using something like this instead:
I intentionally used the 24h format to avoid bothering with the AM and PM parts and their text size. The time is further to the left given a smaller area occupied by the text at font size of 40, and the date is made smaller as well, to fit the space taken by the time. Any perceived empty space to the left is there to ensure wider versions of the string (e.g. "20 May 2020") fit the space as well (since "May" is wider than "Jul" in proportional fonts, for example).
Ah, good catch on the OP modified code. I think we have done all we can do with this thread.
Now it is up to the OP to apply all of the help we have given properly and make an attempt to learn some simple techniques rather than have things done for them and not understand why it works
Ah, good catch on the OP modified code. I think we have done all we can do with this thread.
Now it is up to the OP to apply all of the help we have given properly and make an attempt to learn some simple techniques rather than have things done for them and not understand why it works
No, this is not copying / pasting. This is a screenshot, which is completely useless for us. If we want to try out your code posted as a screenshot, we have to rewrite the code starting from the screenshot. Sorry by me definitely don't do this, and I think most of guys out there wanting to help otherwise, don't do either.
So, post CODES please instead of SCREENSHOTS.
This looks about right. Now drag the time skin to the left bottom corner or your screen, drag the weather skin above it, and you're done: both of them should touch the left edge of your screen and be positioned at its bottom left side (probably excluding the taskbar, of course). Proceed in a similar manner if you want them positioned elsewhere.
If by any chance you want the time skin to better match the width of the weather skin as seen in the screenshot, and have the AM/PM stuff as well: