Raised This Month: $32 Target: $400
 8% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
joao7yt
Senior Member
Join Date: Nov 2014
Location: Brazil
Old 07-15-2018 , 04:28   [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #1

Are those not working on PrintHintText anymore on Panorama?
joao7yt is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 07-15-2018 , 05:05   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #2

I think I remember someone saying you could wrap your text in a <pre> tag to fix that.
__________________
asherkin is offline
Proz
AlliedModders Donor
Join Date: Apr 2005
Old 07-15-2018 , 09:29   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #3

Size and bold/cursive doesnt work anymore.
Proz is offline
mug1wara
AlliedModders Donor
Join Date: Jun 2018
Old 07-15-2018 , 20:37   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #4

my friends... <span style="font-size:20pt">
mug1wara is offline
joao7yt
Senior Member
Join Date: Nov 2014
Location: Brazil
Old 07-16-2018 , 05:46   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #5

Quote:
Originally Posted by mug1wara View Post
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'>
joao7yt is offline
T1MOXA
Member
Join Date: Aug 2016
Old 07-16-2018 , 21:29   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #6

Quote:
Originally Posted by joao7yt View Post
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.

Last edited by T1MOXA; 07-16-2018 at 21:31.
T1MOXA is offline
SHUFEN
Senior Member
Join Date: Jun 2014
Location: Japan, Tokyo
Old 07-16-2018 , 22:13   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #7

<span class="fontSize-xs"> is working
SHUFEN is offline
Send a message via Skype™ to SHUFEN
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 07-17-2018 , 05:55   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #8

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

Last edited by hmmmmm; 09-27-2018 at 20:47. Reason: Add new font size
hmmmmm is offline
joao7yt
Senior Member
Join Date: Nov 2014
Location: Brazil
Old 07-17-2018 , 07:49   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #9

Interesting, do you know about the “\t” character, tho? It’s rendered as a space now.
joao7yt is offline
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 07-17-2018 , 09:58   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #10

Use the <pre> tag like asherkin said, it changes the font and makes \t work again
hmmmmm is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:54.


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