It is currently May 3rd, 2024, 7:50 pm

Adjusting Font Size of Newspaper Launcher

Get help with creating, editing & fixing problems with skins
PK-KTK
Posts: 8
Joined: May 14th, 2012, 10:10 am

Adjusting Font Size of Newspaper Launcher

Post by PK-KTK »

Hi,

Loving Rainmeter - Especially the Newspaper skin by Tatenokai - http://tatenokai.deviantart.com/#/d39w05t

I'm having a tiny bit of trouble with the font size of the Launchers though and I can't see where to edit that so I can easily read what each Launcher is for. :confused:

The code for one of the Launchers is (they are all the same though as far as I can see)

Code: Select all

;------------------------------------------------------------------------------------------------
; ENIGMA LAUNCHER (5)
; Class: Normal

[Rainmeter]
Author=Kaelri.LCD@gmail.com
AppVersion=1001000
Update=1000
MiddleMouseDownAction=!RainmeterActivateConfig #CURRENTCONFIG# Launcher9-Mini.ini

[Metadata]
Name=Enigma Launcher (9)
Config=Enigma | Taskbar | Launcher | Launcher9
Description=A text button that launches one of your chosen favorite applications or URLs when clicked.
Instructions=Click and drag by the label to move this skin. | Set "App5" as the name of the application as it appears. | Set "App9Path" as the location of the app on your computer. | Set "App5Label" as a short description or subtitle for the app.
Version=2.7
Tags=Taskbar | Launcher
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Preview=#SKINSPATH#Enigma\Resources\Images\Preview.png
Credits=Inspired by the gorgeously cohesive and minimalist desktops of nh0j.

[Variables]
@include=#SKINSPATH#\Newspaper\UserVariables.inc
@include2=#SKINSPATH#Newspaper\Launchers\Variables\StyleTaskbar.inc
Color1=0,0,0
Color2=0,0,0
Color3=0,0,0
ColorActive=70,70,70,170
ColorBorder=192, 192, 192, 128
ColorIcon=0,0,0
ColorUpload=128, 192, 255, 160
ColorDownload=#Color2#
Height1=6
Height2=8
Height3=12
Height4=13
Font=Trebuchet MS
SubstituteFeed="&apos;":"'",""":"","&Quot;":"","&":"&","<br>":"","![CDATA[":"","]]":"","...":"","<":"",">":"","/PRE>":"","PRE>":"","<":"","'":"'","&#228;":"ä","&#246;":"ö","&#8211;":"–","'":"'"
SubstituteLink="&":"&","<![CDATA[":"","]]>":""

[Background]
Meter=Image
MeterStyle=StyleBackground

[App]
Meter=STRING
MeterStyle=StyleText
Text="#App13#"
X=62
LeftMouseDownAction=!Execute [!RainmeterShowMeter AppActive][!RainmeterHideMeter App][!RainmeterRedraw]

[AppActive]
Meter=STRING
MeterStyle=StyleText
Text="#App13#"
X=62
FontColor=#ColorActive#
Hidden=1
LeftMouseUpAction=!Execute ["#App13Path#"][!RainmeterHideMeter AppActive][!RainmeterShowMeter App][!RainmeterRedraw]

[Label]
Meter=STRING
MeterStyle=StyleLabel
Text="#App13Label#"
X=62
Can someone please point me to the section of code that relates to font size please?
Thanks :)
User avatar
Mordasius
Posts: 1173
Joined: January 22nd, 2011, 4:23 pm
Location: GMT +8

Re: Adjusting Font Size of Newspaper Launcher

Post by Mordasius »

PK-KTK wrote:Can someone please point me to the section of code that relates to font size please?
The place to change the fontsize used in all ALL Launchers is under [StyleText] and [StyleLabel] in the .inc file Rainmeter\Skins\Newspaper\Launchers\Variables\StyleTaskbar.inc. However, the labels will start overlapping each other when you go to Fontsize=9 or larger.

If you want to use Fontsize=9 or larger without overlaps, you'll have to start juggling the X= values in each launcher (where it says X=62 in your example).
PK-KTK
Posts: 8
Joined: May 14th, 2012, 10:10 am

Re: Adjusting Font Size of Newspaper Launcher

Post by PK-KTK »

The StyleTaskbar.inc file shows

Code: Select all

[StyleBackground]
SolidColor=0,0,0,2
X=25
Y=0
W=30
H=30

[StyleText]
X=40
Y=0
H=15
W=60
FontColor=#Color1#
FontFace=#Font#
FontSize=#Height1#
StringAlign=CENTER
StringStyle=NORMAL
AntiAlias=1

[StyleLabel]
X=r
Y=15r
H=15
W=60
FontColor=#Color2#
FontFace=#Font#
FontSize=#Height2#
StringAlign=CENTER
StringStyle=NORMAL
AntiAlias=1
Which tells me then that I need to be adjusting the lines that read

Code: Select all

Height1=6
Height2=8
Height3=12
Height4=13
in the Launcher files - and adjusting this for each individual Launcher has worked great.

Thanks Mordasius - appreciate it.