schlangster/skyui

Page Names

Mitsarugi opened this issue · 7 comments

When Adding a new page to "Pages"

Like:
Pages = new string[4]
Pages[0] = "Mining"
Pages[1] = "Herbalism"
Pages[2] = "Hunting"
Pages[3] = "About"

If you use 2 times the same letter in the start of a word using CAPS, the second word won't have CAPS in game, to fix this use a space at the start of the word instead.

Like:
Pages = new string[4]
Pages[0] = "Mining"
Pages[1] = "Herbalism"
Pages[2] = " Hunting"
Pages[3] = "About"

Correct workaround, incorrect observation.

Hunting will be cached as HUNTING in papyrus. Better method to avoid this is to use SKSE's localisation methods, https://github.com/schlangster/skyui/wiki/MCM-Advanced-Features#wiki-Localization

No the first letter not the entire word!

Ok, it will be cached as hunting then

It's wierd that the first word "Herbalism" shows as "Herbalism" in game and "Hunting" as "hunting" in game...

No it isn't.

string uppercasestring = "UPPERCASESTRING"

Debug.Trace(uppercasestring)

Will output "uppercasestring"

It's not a SkyUI issue, but general Papyrus behaviour.
See this posting
http://forums.bethsoft.com/topic/1443684-very-bizarre-string-behavior-forced-capitalization/page__view__findpost__p__22248693
for an explanation.

Ohhh, if it's a general Papyrus issue and not a SkyUI issue i'm sorry :/
I used it in the MCM and it displays that way in the MCM,so i thought it was the MCM ^^
Sorry guys, Great work on the MCM by the way , i love it, all of my mods use it ;)