HISE Logo Forum
    • Categories
    • Register
    • Login

    multi line drawAlignedText?

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 69 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • whoopsydoodleW
      whoopsydoodle
      last edited by

      I'm trying to draw multiple lines of text onto a panel. Is there a way I can define an area and then have it automatically wrap like a label with multiline enabled?

      My reason for doing this is labels seem to have a bug/feature where it changes the text size and letter spacing in an attempt to smush the text to fit in the label size. It's very strange and looks really ugly. Drawing text on a panel avoids this but I can't figure out how to make it do multi line text in a defined area.

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @whoopsydoodle
        last edited by

        @whoopsydoodle There's a function for this, I'm not at my computer right now but it's something like drawMultilineText

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        whoopsydoodleW 1 Reply Last reply Reply Quote 0
        • whoopsydoodleW
          whoopsydoodle @d.healey
          last edited by

          @d-healey thank you!

          yep drawMultiLineText works.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          18

          Online

          1.7k

          Users

          11.8k

          Topics

          102.8k

          Posts