Color problem in DIALOG_STYLE_TABLIST_HEADERS
#1

Well, I want to change the text color inside a dialog with tab lists and the color breaks just before \t so I have to reapply the color multiple times.

pawn Code:
ShowPlayerDialog(
    playerid,
    0,
    DIALOG_STYLE_TABLIST_HEADERS,
    "My dialog",
    "Header1\tHeader2\n{FF0000}Text1\t{FF0000}Text2\n, // the first {FF0000} stops at \t and the reset text is again a normal color it doesn't continue like in other dialogs and I have to reapply
    "
Select",
    "
Back"
);
Reply
#2

Hmm I know that one but I don't think they recognize it as a bug. Thought it's not good to repeat colors at each \t.
Reply
#3

Quote:
Originally Posted by Variable™
View Post
Hmm I know that one but I don't think they recognize it as a bug. Thought it's not good to repeat colors at each \t.
It's not good because the string size in the format will have to increase which is a waste of memory plus you should be able to change the color of all text with a single color insert like in the other dialog types instead of having to repeat the color many times. That should be nonetheless considered as a bug since it affects the memory usage.
Reply
#4

I'm aware of this already, they should fix this issue too. That's why a new version is highly required, major and minor bugs are increasing.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)