how do i put icon using image or font awesome icon ? i prefer to use font awesome icon to this rainformer skin?? or if more simple alternative like using windows icon also good.
i want to put icon beside the title on every skin.
It is currently March 29th, 2024, 8:25 am
How to put icon on the title using font awesome
-
- Posts: 19
- Joined: March 3rd, 2021, 10:10 am
- Location: Malaysia
How to put icon on the title using font awesome
You do not have the required permissions to view the files attached to this post.
-
- Rainmeter Sage
- Posts: 2588
- Joined: March 23rd, 2015, 5:26 pm
Re: How to put icon on the title using font awesome
Here is a post that has an example that shows how to do this: https://forum.rainmeter.net/viewtopic.php?p=139904#p139903.
There are additional ways to do this that are simpler, especially if your font baselines don't line up.
-
- Rainmeter Sage
- Posts: 5384
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: How to put icon on the title using font awesome
Besides SilverAzide suggestion, you can also find a few more details in Rainmeter's documentation: Character Reference Variables
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Posts: 19
- Joined: March 3rd, 2021, 10:10 am
- Location: Malaysia
Re: How to put icon on the title using font awesome
Code: Select all
;[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\[[METERS]]//////////////////////////////]
;[--------------------[[Title region/Icons]]--------------------]
[IconTitle_]
Meter=String
MeterStyle=StyleLeftAlign
FontFace=Font Awesome 6 Free Solid
FontSize=12
FontColor=200,200,200
X=(#ContentMarginFormula#+1)
Text=[\x0xe4e5]
Y=(#BgOffset#+3)
DynamicVariables=1
TransformationMatrix=#Scale#;0;0;#Scale#;#Scale#;#Scale#
UpdateDivider=-1
i manage to make the icon appear with font awesome 6 with this code, is this the right code ?? or am i doing something wrong ??
-
- Rainmeter Sage
- Posts: 2588
- Joined: March 23rd, 2015, 5:26 pm
Re: How to put icon on the title using font awesome
The line Text=[\x0xe4e5] is not correct. It most likely should be Text=[\xe4e5].
-
- Posts: 19
- Joined: March 3rd, 2021, 10:10 am
- Location: Malaysia
Re: How to put icon on the title using font awesome
if i take out x0x the icon not showing, how can i fix this ?? but with x0x the icon show, where do i adjust the code ?SilverAzide wrote: ↑September 28th, 2022, 11:58 pm The line Text=[\x0xe4e5] is not correct. It most likely should be Text=[\xe4e5].
-
- Rainmeter Sage
- Posts: 2588
- Joined: March 23rd, 2015, 5:26 pm
Re: How to put icon on the title using font awesome
That's not what I said to do. Look again exactly at what I wrote.
-
- Posts: 19
- Joined: March 3rd, 2021, 10:10 am
- Location: Malaysia
Re: How to put icon on the title using font awesome
ouhhh sorry, it's working with just x, thanks againSilverAzide wrote: ↑September 29th, 2022, 7:03 pm That's not what I said to do. Look again exactly at what I wrote.