Playnite Forums
  • Playnite Web
  • Rules
  • Members
  • Team
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Playnite Forums Development Themes Text Variable to String Converter

Text Variable to String Converter
CriticalComposer
Offline

#1
05-03-2020, 04:22 PM
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.
Crow
Online

Administrator
#2
05-03-2020, 05:02 PM
You can use "ObjectToStringConverter" converter for your binding and it should display localized values for completion status.
CriticalComposer
Offline

#3
05-03-2020, 06:13 PM
Thanks! Worked like a charm.
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode