String Object - Word-Wrap issue

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • There is a problem with the String Object and word wrapping. If you get a string of characters at just the right length, it will wrap punctuation marks without the word before them! Example:

    Please login to see this picture.

    The sentence should wrap like this:

    -------------------------- ii
    oooo,

    Please login to see this link.
    Please login to see this link.

  • Hmm. Does the Active System Box behave this way, as well? I highly recommend using that over the string object. I haven't benchmarked it (I'll do it now) but as long as you aren't actively pushing performance boundaries, you shouldn't see a performance difference between strings, which really should be considered legacy objects, and Active System Boxes.

    Okay, Windows benchmarks:

    1,000 string objects positioned [Random(640) by Random(480) +32] and sized at 640x100: ~212 frames per second
    1,000 Active System Boxes positioned positioned [Random(640) by Random(480) +32] and sized at 640x100: ~130 frames per second

    As an aside: The string object is about 60%-80% faster than the ASO is. If you need that extra performance, stick with the string object, but if you need variables, ability to resize at runtime, change the overall look, etc., the ASO is more appropriate. :)

    Edit: The ASO has the same word-wrapping problem that the string object has. So, outside of the benchmarks, I don't have much to contribute here, sorry! I do recommend that you post this in the bug tracker.

  • Instead of staying attached to "oooo", the comma is being moved to the beginning of the second line by itself. This is what it looks like in Fusion:

    Quote

    I looove
    , Fusion

    but it should look like this:

    Quote

    I looove,
    Fusion

    Unfortunately I can't think of any sort of workaround for this issue outside of doing some weird stuff that probably wouldn't be reliable.

  • Hi, if any Clickteam engineers see this thread, is this bug going to be getting your attention any time soon? It's getting tiring watching my strings show up like so (the issue is circled in red):

    Please login to see this attachment.

    Please login to see this link.
    Please login to see this link.

  • I don't think you understand the problem. This is what correctly wrapping text should look like:

    ________
    This text wraps correctly,
    see what I mean?
    --------------

    And this is what is happening:

    ________
    This text wraps wrong
    , see the comma there?
    --------------

    Get it?

    Please login to see this link.
    Please login to see this link.

  • I've been having this exact problem, with punctuation not wrapping properly, but I guess there is no solution for it yet, which is surprising since this thread is almost a year old. Using Active System Box doesn't fix it either.

  • How did you managed to make the String object wrap text in the first place during runtime?
    Did you just use Align Vertical = Center ?

    I did test it with aligning the text vertically to center, and the comma does appear on the new line when it wraps. However, editing the text in the frame editor does not wrap the comma to the next line.

  • I cant see this issue in the Bug Tracker ( maybe im just searching it wrong ).
    Posting this issue there would make it more likely to be resolved/ fixed if applicable.

    How can i change username and display name?
    Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!