Results 1 to 2 of 2

Thread: XML UI Question

  1. #1

    XML UI Question

    is it possible insert a 'new line' or break point into a string in the UI XML files? normally it's just a '\n' character, but that doesn't work.
    for the example if i have this:
    Code:
      tooltip="If someone takes a card from the draw pile, can they only draw one card and end their turn, or keep drawing until they play a card"
    and as a result of not having any line breaks, it looks like this:
    (sorry for the small image size)
    TTS.jpg
    the same situation applies to text inside of a <text> tag or anything like that


    it just looks weird being one long line of text. I'd rather it have a few line breaks if its possible

  2. #2
    You can use [[ and ]] to quote your string like this:
    Code:
    tooltip=[[If someone takes a card from the draw pile,
    can they only draw one card and end their turn,
    or keep drawing until they play a card]]
    The xml side of things doesn't care about lines at all.

Similar Threads

  1. Another rotation question
    By jacob4408 in forum Scripting
    Replies: 4
    Last Post: 10-23-2017, 11:28 PM
  2. Mod Question
    By SlothOfDanger in forum General Discussion
    Replies: 2
    Last Post: 10-25-2016, 08:20 PM
  3. Question about DLC Models
    By Elemental in forum General Discussion
    Replies: 4
    Last Post: 10-18-2016, 12:42 PM
  4. Question on Scaling
    By TattleTale in forum Scripting
    Replies: 2
    Last Post: 08-14-2016, 03:10 PM
  5. A question about TTS
    By acctingman in forum General Discussion
    Replies: 2
    Last Post: 02-19-2016, 08:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •