AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   [CS:GO PANORAMA] \t and size on PrintHintText (https://forums.alliedmods.net/showthread.php?t=309146)

joao7yt 07-15-2018 04:28

[CS:GO PANORAMA] \t and size on PrintHintText
 
Are those not working on PrintHintText anymore on Panorama?

asherkin 07-15-2018 05:05

Re: [CS:GO PANORAMA] \t and size on PrintHintText
 
I think I remember someone saying you could wrap your text in a <pre> tag to fix that.

Proz 07-15-2018 09:29

Re: [CS:GO PANORAMA] \t and size on PrintHintText
 
Size and bold/cursive doesnt work anymore.

mug1wara 07-15-2018 20:37

Re: [CS:GO PANORAMA] \t and size on PrintHintText
 
my friends... <span style="font-size:20pt">

joao7yt 07-16-2018 05:46

Re: [CS:GO PANORAMA] \t and size on PrintHintText
 
Quote:

Originally Posted by mug1wara (Post 2603897)
my friends... <span style="font-size:20pt">

I think CS:GO doesn't support span. That doesn't affect the text.
tried even
HTML Code:

<span style='color:#00ff00'>

T1MOXA 07-16-2018 21:29

Re: [CS:GO PANORAMA] \t and size on PrintHintText
 
Quote:

Originally Posted by joao7yt (Post 2603954)
I think CS:GO doesn't support span. That doesn't affect the text.
tried even
HTML Code:

<span style='color:#00ff00'>

Confirmed, it didn't work for me either.

SHUFEN 07-16-2018 22:13

Re: [CS:GO PANORAMA] \t and size on PrintHintText
 
<span class="fontSize-xs"> is working

hmmmmm 07-17-2018 05:55

Re: [CS:GO PANORAMA] \t and size on PrintHintText
 
List of supported HTML tags in Panorama panels (some may not work in hint text):
Code:

<br>
<i>
<img>
<em>
<p>
<strong>
<li>
<span>
<h1>
<h2>
<font>
<child>
<pre>
<panel>
<a>
<b>

To change font and/or size you can use <span class='XXX'> like SHUFEN mentioned. For a list of valid classes you can use, check the panorama code in code.pbin. The styles available to you in hinttext are found in csgostyles.css and hudhinttext.css.

The most interesting ones are the font size ones, I'll list them here for convenience:
Code:

fontSize-xs - 8px
fontSize-s - 12px
fontSize-sm - 16px
fontSize-m - 18px
fontSize-l - 24px
fontSize-xl - 32px
fontSize-xxl - 40px
fontSize-xxxl - 64px


joao7yt 07-17-2018 07:49

Re: [CS:GO PANORAMA] \t and size on PrintHintText
 
Interesting, do you know about the “\t” character, tho? It’s rendered as a space now.

hmmmmm 07-17-2018 09:58

Re: [CS:GO PANORAMA] \t and size on PrintHintText
 
Use the <pre> tag like asherkin said, it changes the font and makes \t work again


All times are GMT -4. The time now is 02:20.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.