It is currently April 19th, 2024, 3:07 pm

How to make Win10 Widgets BIGGER and BRIGHTER?

Get help with creating, editing & fixing problems with skins
tzr916
Posts: 10
Joined: March 31st, 2018, 4:27 pm

Re: How to make Win10 Widgets BIGGER and BRIGHTER?

Post by tzr916 »

The problem is - the CPU Large.ini includes resources from the CPU Medium.ini, that includes resources from CPU Small.ini, that includes resources from CPU Tiny.ini. And all of those include resources from styles.ini, variables.ini, cputemplate.ini, performancetemplate.ini, and maybe more....

Do I post code from all 8 of those ini files?
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5394
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: How to make Win10 Widgets BIGGER and BRIGHTER?

Post by eclectic-tech »

tzr916 wrote:The problem is - the CPU Large.ini includes resources from the CPU Medium.ini, that includes resources from CPU Small.ini, that includes resources from CPU Tiny.ini. And all of those include resources from styles.ini, variables.ini, cputemplate.ini, performancetemplate.ini, and maybe more....

Do I post code from all 8 of those ini files?
Well, that presents a dilemma :x ...

When editing skins that use mutiple included files, it may be best to pick the size you want to use and replace all the '@include=somefile' lines, with the contents of those files. Then post that single code.

But besides doing that, you should be able to add FontSize=24 to any meter section in the skin, and it will use that size, no matter what style settings are included. :)
tzr916
Posts: 10
Joined: March 31st, 2018, 4:27 pm

Re: How to make Win10 Widgets BIGGER and BRIGHTER?

Post by tzr916 »

CPU-Large.ini - Changing "FontSize=18" has no affect on the size of the cpu%.

Code: Select all

[Metadata]
Name=CPU (large)
Author=TJ Markham
Information=Displays CPU information.
License=Creative Commons BY-NC-SA 4.0
Version=1.0.0

[Variables]
@Include=CPU-Medium.ini
BackgroundHeight=165
GraphHeight=90
GraphTopPadding1=74


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

[Label1]
MeterStyle=StyleBigText
X=5
Y=4

[Value1]
MeterStyle=StyleMediumText
X=0R
Y=16r
FontSize=18
FontColor=#SolidGreyText#

@Include=CPU-Medium.ini

Code: Select all

[Metadata]
Name=CPU (medium)
Author=TJ Markham
Information=Displays CPU information.
License=Creative Commons BY-NC-SA 4.0
Version=1.0.0

[Variables]
@Include=CPU-Small.ini
BackgroundHeight=117
GraphHeight=60
GraphTopPadding1=46


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

[Label1]
MeterStyle=StyleMediumText
X=8
Y=6

[Value1]
Y=7r
@Include=CPU-Small.ini

Code: Select all

[Metadata]
Name=CPU (small)
Author=TJ Markham
Information=Displays CPU information.
License=Creative Commons BY-NC-SA 4.0
Version=1.0.0

[Variables]
@Include=CPU-Tiny.ini
BackgroundHeight=91
GraphWidth=339
GraphTopPadding1=40


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

[Label1]
X=10
Y=10

[Value1]
FontSize=11
X=5R
Y=0r

@Include=CPU-Tiny.ini

Code: Select all

[Rainmeter]
Update=100

[Metadata]
Name=CPU (tiny)
Author=TJ Markham
Information=Displays CPU information.
License=Creative Commons BY-NC-SA 4.0
Version=1.0.0

[Variables]
@Include1="#@#Performance Templates\performanceTemplateX4.ini"
@Include2="#@#Performance Templates\cpuTemplate.ini"
CoreFilePath=""#CURRENTPATH#CPU-Tiny.ini""
BackgroundHeight=62
AutoBorder=1

As you can see there are even more ini files referenced. The whole package is easily downloadable per link in my first post.

I am totally lost on how to simply change the font size of the cpu%. Too many styles, ini files, variables, etc...
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5394
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: How to make Win10 Widgets BIGGER and BRIGHTER?

Post by eclectic-tech »

Let's change the CPU-Large.ini

The [Label1] section is the letters 'CPU'. Add Fontsize=30 to that meter.
The [Value1] section is the percentage value. Add Fontsize=30 to that meter and change Y=r

Code: Select all

; ------------------------------------------------------------------------
;    _       ___      _______     _       ___     __           __
;   | |     / (_)___ /  / __ \   | |     / (_)___/ /___  ___  / /______
;   | | /| / / / __ \/ / / / /   | | /| / / / __  / __ \/ _ \/ __/ ___/
;   | |/ |/ / / / / / / /_/ /    | |/ |/ / / /_/ / /_/ /  __/ /_(__  ) 
;   |__/|__/_/_/ /_/_/\____/     |__/|__/_/\__,_/\__, /\___/\__/____/
;                                               /____/
;
;	Win10 Widgets for Rainmeter - CPU (large)
;		Author  - TJ Markham, http://tjmarkham.com
;		Website - http://win10widgets.com
;		Donate  - http://donate.win10widgets.com
;
; ------------------------------------------------------------------------

; Known bug(s):
; - See CPU-Tiny.ini

[Metadata]
Name=CPU (large)
Author=TJ Markham
Information=Displays CPU information.
License=Creative Commons BY-NC-SA 4.0
Version=1.0.0

[Variables]
@Include=CPU-Medium.ini
BackgroundHeight=165
GraphHeight=80
GraphTopPadding1=74


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

[Label1]
MeterStyle=StyleBigText
X=5
Y=4
Fontsize=30

[Value1]
MeterStyle=StyleMediumText
X=0R
Y=r
FontSize=30
FontColor=#SolidGreyText#
Now modify those sizes and positions to get the result you want.
cpu-Large.png
You do not have the required permissions to view the files attached to this post.
tzr916
Posts: 10
Joined: March 31st, 2018, 4:27 pm

Re: How to make Win10 Widgets BIGGER and BRIGHTER?

Post by tzr916 »

Wow that's perfect :17good

Now, last thing - How can I get rid of the word "CPU" all together? Only display the actual utilization percentage number? justified to the left, like the word "CPU" is currently

Thanks so much!
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5394
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: How to make Win10 Widgets BIGGER and BRIGHTER?

Post by eclectic-tech »

tzr916 wrote:Wow that's perfect :17good

Now, last thing - How can I get rid of the word "CPU" all together? Only display the actual utilization percentage number? justified to the left, like the word "CPU" is currently

Thanks so much!
Copy the values of X & Y from the [Label1] section and paste them in the [Value1] section.

Now either delete the entire [Label1] section
OR
Add semicolons ; to each line of that section (doing that will let you easily change it back later).

Like this:

Code: Select all

; ------------------------------------------------------------------------
;    _       ___      _______     _       ___     __           __
;   | |     / (_)___ /  / __ \   | |     / (_)___/ /___  ___  / /______
;   | | /| / / / __ \/ / / / /   | | /| / / / __  / __ \/ _ \/ __/ ___/
;   | |/ |/ / / / / / / /_/ /    | |/ |/ / / /_/ / /_/ /  __/ /_(__  ) 
;   |__/|__/_/_/ /_/_/\____/     |__/|__/_/\__,_/\__, /\___/\__/____/
;                                               /____/
;
;	Win10 Widgets for Rainmeter - CPU (large)
;		Author  - TJ Markham, http://tjmarkham.com
;		Website - http://win10widgets.com
;		Donate  - http://donate.win10widgets.com
;
; ------------------------------------------------------------------------

; Known bug(s):
; - See CPU-Tiny.ini

[Metadata]
Name=CPU (large)
Author=TJ Markham
Information=Displays CPU information.
License=Creative Commons BY-NC-SA 4.0
Version=1.0.0

[Variables]
@Include=CPU-Medium.ini
BackgroundHeight=165
GraphHeight=80
GraphTopPadding1=74


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

; [Label1]
; MeterStyle=StyleBigText
; X=5
; Y=4
; Fontsize=30

[Value1]
MeterStyle=StyleMediumText
X=5
Y=4
; X=0R
; Y=r
FontSize=30
FontColor=#SolidGreyText#
tzr916
Posts: 10
Joined: March 31st, 2018, 4:27 pm

Re: How to make Win10 Widgets BIGGER and BRIGHTER?

Post by tzr916 »

Poking around, I found an alternate solution by deleting the "Text=" value in the "performanceTemplateX4.ini" like this:

Code: Select all

[Label1]
; Label for graph.
Meter=String
MeterStyle=StyleSmallText | StyleWhiteText
X=9r
Y=-4r
Group=Monitor1
Text=
UpdateDivider=-1
Hidden=1
You do not have the required permissions to view the files attached to this post.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5394
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: How to make Win10 Widgets BIGGER and BRIGHTER?

Post by eclectic-tech »

Glad you found a way to get it done...
There are always multiple ways to achieve desired result when coding skins! :thumbup: