Playnite Forums
Text Variable to String Converter - Printable Version

+- Playnite Forums (https://playnite.link/forum)
+-- Forum: Development (https://playnite.link/forum/forum-10.html)
+--- Forum: Themes (https://playnite.link/forum/forum-9.html)
+--- Thread: Text Variable to String Converter (/thread-259.html)



Text Variable to String Converter - CriticalComposer - 05-03-2020

Is there a converter for adding whitespaces to variables so they look cleaner? I'm wanting to display CompletionStatus in my theme but multi-word status lack spaces between the words (ex. PlanToPlay, NotPlayed). I have the raw variable displaying just fine in the theme but it needs some formatting.


RE: Text Variable to String Converter - Crow - 05-03-2020

You can use "ObjectToStringConverter" converter for your binding and it should display localized values for completion status.


RE: Text Variable to String Converter - CriticalComposer - 05-03-2020

Thanks! Worked like a charm.