Apparently Chieftan Ragnash the Expeditious’ name is so long and magnificent that no UI element can contain it. I presume this should probably be handled by the game in some way.
be happy there is now a scrollbar in the citizensscreens but i know what you mean xD because of this i have changed the fontsize for the unitinfo in the german translation smaller xD
but to be fair - mostly there are not so long names xD also normaly you shouldnt can open the unitinfo for enemys xD
Mostly having fun reporting some of these bugs. They aren’t terribly serious. But if some of them get onto radiants bug list for simple fixes, then mission accomplished.
In all seriousness, I’ll poke Tom about this. Also, I’ll look into the Chieftan. He could probably do with just a regular name and have “the Expeditious” as a title.
I wouldn’t be entirely surpised if that happened eventually anyway. When multiplayer happens, there are going to be people doing this with their character names just to troll other players.
For Chieftans and such, obviously you have the power to make the names fit
ok the idea with a wrap could be possible - i will try it tomorrow some htmlcodes ^^
a scrollbar … there is one in the citizensmanager but like you see its not really good
hmmm perhaps text-overflow: ellipsis; … sooo that if its to long its shows in the citizeninfo HELLOMYNAME…
i dont know if stonehearth can use hover? so perhaps it would be possible that when a long name and ellipsis is triggered it would be possible to make an extra window with the full name with an mouseover?
With no real limit on string length in game, someone could add a name thousands of characters long. A window sized to fit the full name could fill the screen.
Using the ellipsis would probably be the optimal solution for cases where players insist on overly long names for hearthlings or parties. The trick is where to put the elipsis when dealing with proportional fonts. Depending on the letters used, you need to cut the name off in a different place. The solution is easy for one font, but if another font is modded in, you need to also account for new letter widths.
thats not the problem ^^ because you say how long is the box for the name … at the moment the width its 400 ^^ so after this its set automatically the ellipsis xD
hmmmmm i dont know if there any other things incoded ^^ but for example the mouseoverfunction works only a little bit or the function scroll also doesnt work^^
ok like mentioned im also a noob in coding - i have my experience only from dos, macros for exel and website building for my team at work (own tools) ^^
I meant the overflow and ellipsis stuff. I don’t know a lot about modern style sheet stuff, but I didn’t realise you could do that so easily. I presume that’s the imbedded chrome browser that renders the GUI at work.
just for info: my idea was now implented official for the charsheet - now i need just to convince @yshan to add this also to the citizens.less and the pet_character_sheet.less (this is for later when we are able to add own names for them) file and all fixed ^^