It is currently May 4th, 2024, 5:23 am

What do I modify to restore the original settings?

Get help with installing and using Rainmeter.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5407
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: What do I modify to restore the original settings?

Post by eclectic-tech »

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.

String Meter Alignment
User avatar
balala
Rainmeter Sage
Posts: 16198
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: What do I modify to restore the original settings?

Post by balala »

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.
User avatar
Yincognito
Rainmeter Sage
Posts: 7198
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: What do I modify to restore the original settings?

Post by Yincognito »

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:

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1

;-----------MEASURES------------

[MeasureTime]
Measure=Time
Format=%H:%M

[MeasureDate]
Measure=Time
Format=%a, %d %b %Y

;-----------METERS------------

[MeterTime]
MeasureName=MeasureTime
Meter=STRING
X=65
Y=0 
FontColor=255, 255, 255, 255
FontSize=40
FontFace=Antipasto
StringAlign=CENTER
AntiAlias=1

[MeterDate]
MeasureName=MeasureDate
Meter=STRING
X=r
Y=R
FontColor=255, 255, 255, 255
FontSize=11
FontFace=Antipasto
StringAlign=CENTER
AntiAlias=1
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).
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5407
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: What do I modify to restore the original settings?

Post by eclectic-tech »

@Yincognito

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 :x
User avatar
Yincognito
Rainmeter Sage
Posts: 7198
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: What do I modify to restore the original settings?

Post by Yincognito »

eclectic-tech wrote: April 20th, 2024, 3:41 pm @Yincognito

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 :x
Indeed... or why it doesn't work. :confused:
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
bhs67
Posts: 33
Joined: April 22nd, 2021, 12:29 pm

Re: What do I modify to restore the original settings?

Post by bhs67 »

eclectic-tech
Image
Image
Image
bhs67
Posts: 33
Joined: April 22nd, 2021, 12:29 pm

Re: What do I modify to restore the original settings?

Post by bhs67 »

Yincognito, Copying / Pasting your code:
Image
User avatar
balala
Rainmeter Sage
Posts: 16198
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: What do I modify to restore the original settings?

Post by balala »

bhs67 wrote: April 20th, 2024, 5:50 pm Image
And how is looking your [MeterDate] meter (which shows the date) of the code of this skin? Because it is not posted.
bhs67 wrote: April 20th, 2024, 5:54 pm Yincognito, Copying / Pasting your code:
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.
bhs67
Posts: 33
Joined: April 22nd, 2021, 12:29 pm

Re: What do I modify to restore the original settings?

Post by bhs67 »

I am using a 43 inch monitor .. perhaps that makes a difference.

I'll post the code again. All of the previous posts use this code as the baseline:

Code: Select all

;Elegance
;Clock Skin - Black
;Created by TwistLemon

[Rainmeter]
Author=TwistLemon
Update=1000

[Variables]
Size1=74
Size2=18
ClockSize=40
WhiteHands=255,255,255,255
BlackHands=0,0,0,245

;-----------MEASURES------------

[MeasureTime]
Measure=Time
Format=%#I:%M

[MeasureDate]
Measure=Time
Format=%a, %d %b %Y

;-----------METERS------------

[MeterTime]
MeasureName=MeasureTime
Meter=STRING
X=230
Y=0 
FontColor=255, 255, 255, 255
FontSize=40
FontFace=Antipasto
StringAlign=CENTER
;StringStyle=BOLD
AntiAlias=1

[MeterDate]
MeasureName=MeasureDate
Meter=STRING
X=r
Y=87r
FontColor=255, 255, 255, 255
FontSize=18
FontFace=Antipasto
StringAlign=CENTER
;StringStyle=Bold
AntiAlias=1
I have also uploaded the entire C:\Users\XXX\Documents\Rainmeter\Skins folder - Rainmeter.zip - to my website https://temp.foxping.com/.

Are there any other docs / folders I should upload?

Thanks to all for their patience and suggestions! It is appreciated!
Last edited by bhs67 on April 20th, 2024, 6:57 pm, edited 1 time in total.
User avatar
Yincognito
Rainmeter Sage
Posts: 7198
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: What do I modify to restore the original settings?

Post by Yincognito »

bhs67 wrote: April 20th, 2024, 5:54 pm Yincognito, Copying / Pasting your code:
Image
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:

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1

;-----------MEASURES------------

[MeasureTime]
Measure=Time
Format=%I:%M %p

[MeasureDate]
Measure=Time
Format=%a, %d %b %Y

;-----------METERS------------

[MeterTime]
MeasureName=MeasureTime
Meter=STRING
X=85
Y=0
FontColor=255, 255, 255, 255
FontSize=40
FontFace=Antipasto
StringAlign=CENTER
InlineSetting=Size | 18
InlinePattern=( AM| PM)$
AntiAlias=1

[MeterDate]
MeasureName=MeasureDate
Meter=STRING
X=r
Y=R
FontColor=255, 255, 255, 255
FontSize=15
FontFace=Antipasto
StringAlign=CENTER
AntiAlias=1
Elegent Clock 2.jpg
Naturally, if the weather skins displays a longer text, e.g. Partly Cloudy or similar, then their widths won't match anymore.
You do not have the required permissions to view the files attached to this post.
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth