I usually avoid using relative positioning when creating a scalable skin and for simplfication I removed all Width and Height settings in the string meters the FontSize will control the size. Once you have those settings, the clock can be scaled as large or small and will not clip characters. You can see how much space is used and adjust the SkinWidth and SkinHeiight values in and determine the best value for the colon meter X-position. TIP: By holding 'Ctrl+Alt' keys and left click the skin you will shade the entire skin content. īy setting values of X= and StringAlign=Right and the values to X= and StringAlign=Left you should get a display that does not clip. This means the SkinWidth should be twice that value SkinWidth=(240*#Scale#) in. This means the X value of should be roughly twice the FontSize, so set X=(120*#Scale#) on that meter. You have '60' as the default FontSize and are using the meter as the centering position. Let's start by determining positions and size based on Scale=1.0 and a default FontSize. You are using a proportional font that will have differing widths for every character. The previous suggestions are all valid options, but the clipping is happening because you did not position the Center X Value of to leave enough space to the left of it for the hours and set the SkinWidth to twice that value. The modified skin is under new variant - style1 So none of those commands is solving the cut of parts of the skin. Now the left side cut of while still a little bit on the top is missing Well I tried both variants DynamicWindowSize=1 as well as skin width and hight. Having the font will be able to advice you better.ĭeadeye wrote: ↑ March 16th, 2023, 9:48 pm If on the other hand, the font is installed to your computer, upload the font's file or post a link where I can download that font. If it does, pack please the whole config (the first folder in the Skins folder, which contains the file having the posted code) and upload the package here. If this doesn't help either, check please if the Google Sans font resides in the folder. When you found the best values for the SkinWidth and SkinHeight, obviously you can set back the Scale variable to whatever value you want ( Scale=1.6 for instance, as you had it in the posted code). In any case, take care to set the Scale variable to Scale=1 (this is extremely important, don't forget to do this) in the section before starting to adjust the size. I hope you can find some proper values at least for the SkinWidth and SkinHeight. As such, all these values (the SkinWidth, the SkinHeight and the X and Y options of the String meters) should require some adjustments. This is caused by the fact that I don't have the Google Sans font you're using into the two String meters of your code, and. Looking to your screenshot, I realized that these X and Y values are not the best either. These values are right for the font I am using, with the values of the altered X and Y options. Finally to get the date positioned on the same position as previously, alter the X and Y options of the meter:.This is how all these meters are kept in place. The first one () is aligned to center, the second (), which shows the hour, is aligned to right (so its right side is near the colon), while the third one () is aligned to left (to get the left side of the number of minutes on position). =MAIN CODE=Īs you asked for, these three meters are showing in order: Do not touch this part (unless u know what u r doing ) ) License=Creative Commons Attribution - Non - Commercial - Share Alike 3.0 Information= A rainmeter skin of digital clock ,date,weather.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |