HISE Logo Forum
    • Categories
    • Register
    • Login

    Setting label text not working

    Scheduled Pinned Locked Moved Bug Reports
    2 Posts 2 Posters 671 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.
    • d.healeyD
      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 HartC
        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

        53

        Online

        1.7k

        Users

        11.7k

        Topics

        101.8k

        Posts