Posts: 1,251
Joined: Dec 2008
Reputation:
15
Is there no way to get rid of the scrollsuffix on labels? Using a blank space as the suffix doesn't seem to work, it just defaults to " | "
Posts: 3,956
Joined: Dec 2008
Reputation:
62
I believe you can't use "empty" suffix.
Posts: 1,251
Joined: Dec 2008
Reputation:
15
Seems like an odd limitation. I wonder if it's a bug or by design.
Posts: 672
Joined: Aug 2010
Reputation:
13
pieh
Retired Team-Kodi Member
Posts: 672
2013-05-23, 16:13
(This post was last modified: 2013-05-23, 16:47 by pieh.)
This isn't related specificly with scrollsufix - this is how we handle xml. <scrollsuffix></scrollsuffix> is valid and contain empty string, we wrongly discard it and use default " | ". For now you can <scrollsuffix>-</scrollsuffix> - this will make empty suffix. Just wonder when someone will want to have "-" as suffix, this will bite again.
--- update
I played a little with it and it seems tinyxml lib is at fault here, it doesn't like when value of element is empty or contains only white spaces - it will then say that element has no value. This makes it impossible to define scrollsuffix to be just a space, as acording to tinyxml that element doesn't have any value ...
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first
My previous forum/trac nickname: grajen3
Posts: 26,215
Joined: Oct 2003
Reputation:
187
The whitespace thing in tinyxml can be controlled, but it's a global. Generally we don't want it, as otherwise you have to trim all whitespace before parsing stuff out.
We could probably detect <scrollsuffix></scrollsuffix> and override - we'd need to move the default scrollsuffix to where the XML is being read though.
Posts: 1
Joined: Sep 2014
Reputation:
1
2014-09-09, 14:51
(This post was last modified: 2014-09-09, 14:54 by rothorsekid.)
Unicode "undefined" worked for me:
& #0000;
Posts: 3,956
Joined: Dec 2008
Reputation:
62
Add some spaces around unicode code. I don't remmember what I did exactly but can check tomorrow.
Posts: 17,389
Joined: Aug 2007
Reputation:
583
Hitcher
Team-Kodi Member
Posts: 17,389
2014-11-22, 00:58
(This post was last modified: 2014-11-22, 00:59 by Hitcher.)
Sorted it out eventually, you need to remove the space after &