Raised This Month: $140 Target: $400
 35% 

[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
Location: Not your business.
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">
__________________
Taking requests, add me on Steam.

mug1wara.xyz

Never call me a weeb.
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.jp
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.jp is offline
Send a message via Skype™ to SHUFEN.jp
hmmmmm
Senior Member
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

Last edited by hmmmmm; 07-19-2018 at 16:45.
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
Senior Member
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 03:35.


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