It is currently April 26th, 2024, 6:23 am

How to set one part of the text to bold?

Get help with creating, editing & fixing problems with skins
iggybob
Posts: 9
Joined: December 1st, 2016, 6:48 am

How to set one part of the text to bold?

Post by iggybob »

Here's my simple time/date skin: 15:20 | Sunday, 25 December 2022

I'd like to set the time to bold text type but no idea how to do it.

15:20 | Sunday, 25 December 2022

This is the code:

Code: Select all

[Rainmeter]
Author=
Update=1000

[MeasureTime]
Measure=Time
Format=%H:%M | %A, %d %B %Y

[MeterTime]
MeasureName=MeasureTime
Meter=STRING
X=230
Y=0 
FontColor=220, 220, 220
FontSize=12
FontFace=Roboto
StringAlign=CENTER
AntiAlias=1
Last edited by balala on December 25th, 2022, 3:25 pm, edited 1 time in total.
Reason: Please use <code> tags whenever are posting codes. It's the </> button.
User avatar
Jeff
Posts: 332
Joined: September 3rd, 2018, 11:18 am

Re: How to set one part of the text to bold?

Post by Jeff »

Add

Code: Select all

InLineSetting=Weight | 900
InLinePattern=\d+\:\d+
on the string meter
iggybob
Posts: 9
Joined: December 1st, 2016, 6:48 am

Re: How to set one part of the text to bold?

Post by iggybob »

Jeff wrote: December 25th, 2022, 2:18 pm Add

Code: Select all

InLineSetting=Weight | 900
InLinePattern=\d+\:\d+
on the string meter
Thanks :great: