HISE Logo Forum
    • Categories
    • Register
    • Login

    Preset Browser Laf || Multi-line?

    Scheduled Pinned Locked Moved Solved Scripting
    10 Posts 2 Posters 114 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.
    • ChazroxC
      Chazrox
      last edited by

      I want to put a line break in this text but it doesnt seem to work. Any advice?

      script;
      Screenshot 2025-05-26 at 7.40.15 PM.png:

      what it looks like:
      Screenshot 2025-05-26 at 7.40.32 PM.png

      rglidesR 1 Reply Last reply Reply Quote 0
      • rglidesR
        rglides @Chazrox
        last edited by

        @Chazrox Can't be 100% sure but can't you just do "CLICK THE PLUS SIGN" + "" + "TO CREATE A PRESET" - or something like that

        rglidesR 1 Reply Last reply Reply Quote 0
        • rglidesR
          rglides @rglides
          last edited by

          @rglides yep,just tried it. So you add as much space as you want between the "" - so for example "CLICK THE PLUS SIGN" + " " + "TO CREATE A PRESET"

          rglidesR 1 Reply Last reply Reply Quote 0
          • rglidesR
            rglides @rglides
            last edited by

            @rglides ah well the message here removed my extra space, here -

            "CLICK THE PLUS SIGN" + "        " + "TO CREATE A PRESET"
            
            ChazroxC rglidesR 2 Replies Last reply Reply Quote 1
            • ChazroxC
              Chazrox @rglides
              last edited by Chazrox

              @rglides Im trying that but thats just adding space in between. I need it to break to a new line down.

              1 Reply Last reply Reply Quote 0
              • rglidesR
                rglides @rglides
                last edited by

                @rglides I need to learn to properly read original questions here hahah - I think this is what you want

                g.drawMultiLineText("CLICK THE PLUS SIGN\nTO CREATE A PRESET", [10, 10], 100, "left", 1.5);
                
                ChazroxC 2 Replies Last reply Reply Quote 1
                • ChazroxC
                  Chazrox @rglides
                  last edited by

                  @rglides bruh thats the one...lol. Thanks! 🤜 🤛

                  Gottem:
                  Screenshot 2025-05-26 at 8.48.05 PM.png

                  rglidesR 1 Reply Last reply Reply Quote 2
                  • rglidesR
                    rglides @Chazrox
                    last edited by

                    @Chazrox Niiice!

                    1 Reply Last reply Reply Quote 1
                    • ChazroxC Chazrox marked this topic as a question
                    • ChazroxC Chazrox has marked this topic as solved
                    • ChazroxC
                      Chazrox @rglides
                      last edited by

                      @rglides I need to learn how to read the api's before I come here. 😆

                      rglidesR 1 Reply Last reply Reply Quote 1
                      • rglidesR
                        rglides @Chazrox
                        last edited by

                        @Chazrox 😁

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

                        12

                        Online

                        1.7k

                        Users

                        11.8k

                        Topics

                        103.1k

                        Posts