ID:2714949
 
Not a bug
BYOND Version:514
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Firefox 92.0
Applies to:Dream Seeker
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.
Descriptive Problem Summary:
When attempting to display multiple colors in the infopanel on a single stat line,infopanel fails to render initial coloration as the last coloration sets the color of the line.
When used in atom.suffix, this causes the entire suffix to fail to render.


Numbered Steps to Reproduce Problem:

Code Snippet (if applicable) to Reproduce Problem:
        stat("Test:","<font color=\"#cc0000\">A</font>")
stat("Test:","<font color=\"#cc0000\">A</font> <font color=\"#00cc00\">B</font>")
stat("Test:","<font color=\"#00cc00\">B</font>")
var/obj/O = new/obj
O.suffix = "<font color=\"#00c\">Test</font>Two"
stat("Test2:",O)


Expected Results:
"
A
A B
B

obj TestTwo
"

Actual Results:
"
A
A B
B

obj
"

Does the problem occur:
Every time? Or how often? Everytime.

When does the problem NOT occur?
When single colors are used in Suffix, or on a stat line.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)

Workarounds:

Lummox JR resolved issue (Not a bug)
This is a limitation of grid and statpanel controls presently. No single cell can have multiple styles.