Forum

    • Register
    • Login
    • Search
    • Categories

    Setting label text not working

    Bug Reports
    2
    2
    481
    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.
    • d.healey
      d.healey last edited by d.healey

      This doesn't seem to be working in the latest build from github, I've tried both via JSON and with the code below.

      const var lblTest = Content.addLabel("lblTest", 0, 0);
      lblTest.set("text", "HELLO WORLD");
      

      Update: It seems to be working sometimes now... not too sure what the issue is/was yet though.

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

      1 Reply Last reply Reply Quote 0
      • Christoph Hart
        Christoph Hart last edited by

        Yeah, I see. The label is a bit schizophrenic because the text property is actually the same thing as when you call setValue() and something messed this up.

        You can definitely solve this by setting saveInPreset to false, so for static labels this might work. But I'll check what's up there.

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

        26
        Online

        731
        Users

        5.4k
        Topics

        50.2k
        Posts