Iam trying to place some text on the left side of an image but can't get it to work its always cut. I tried several things but no luck.
The Skin is placed on the right side of the screen via Rainmeter.ini. This is the code:
Iam trying to place some text on the left side of an image but can't get it to work its always cut. I tried several things but no luck.
The Skin is placed on the right side of the screen via Rainmeter.ini. This is the code:
A Rainmeter skin will not expand to its top or left side when using negative X or Y coordinates for your meters, hence they are truncated. This is normal to happen. What you probably want to do is to place the image meter towards the right as necessary (by increasing its X), so that the string meter can fit in at the left (say, by setting its X to 0). Another possibility would be to place your string meter before your image in the code, set the former's X to 0 or something positive, then use relative positioning for the latter's X (e.g. 5R or similar).
By the way, you have a typo in the StringAlignt line. Once it's valid (which is not right now because of the typo), string alignment in a String meter also influences the position of the text, since for the right alignment, the X represents the right edge of the meter (and not the left one, like for typical left alignment).
Yincognito wrote: ↑September 21st, 2023, 5:52 pm
A Rainmeter skin will not expand to its top or left side when using negative X or Y coordinates for your meters, hence they are truncated. This is normal to happen. What you probably want to do is to place the image meter towards the right as necessary (by increasing its X), so that the string meter can fit in at the left (say, by setting its X to 0). Another possibility would be to place your string meter before your image in the code, set the former's X to 0 or something positive, then use relative positioning for the latter's X (e.g. 5R or similar).
By the way, you have a typo in the StringAlignt line. Once it's valid (which is not right now because of the typo), string alignment in a String meter also influences the position of the text, since for the right alignment, the X represents the right edge of the meter (and not the left one, like for typical left alignment).
There is a bit more that might help you get your desired result/s.
If you make room for your string to show, by moving the X value greater than zero - by the length of your string (50?), everything in the skin will also have to be moved to that much further than the default start points. Otherwise it will come out all messed up.
Break out your calculator and simply add (50) to every X value. The same will apply if you want to put something at the top. In that case add your value to every Y value. Hopefully with some trial and error you ccan get it looking like you intend - with no random things out of order.
You might make a copy of your skin before editing since notepad has only 1 step of undo available in it.
So perhaps finding one of many test editors that are free - like notepad++ or sublimetext3. Those editors are very versatile and have a lot of undo (ctrl+z) available by default.
Feel free to give it a go, then come back if anything gets too complex for you.
Simply adding some X was the solution
Increasing the X Value in the Rainmeter.ini and setting an X for the Icon and now it looks exactly as I want
Thanks alot to both of you
Bugmenot wrote: ↑September 22nd, 2023, 3:25 pm
Increasing the X Value in the Rainmeter.ini
Nowhere in the Rainmeter.ini (this is the file storing global Rainmeter settings) a X value exists. There is a WindowX for each config stored there, but not an X. WindowX is the horizontal position of the skin in whose section you have this option. Increasing it, you move the whole skin to right.
Bugmenot wrote: ↑September 22nd, 2023, 3:25 pm
Simply adding some X was the solution
Increasing the X Value in the Rainmeter.ini and setting an X for the Icon and now it looks exactly as I want
Thanks alot to both of you
I think he is confusing the main ini with 'rainmeter ini'. Otherwise nothing would have happened.