HISE Logo Forum
    • Categories
    • Register
    • Login

    Change Key Width using code

    Scheduled Pinned Locked Moved Scripting
    4 Posts 3 Posters 229 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.
    • C
      cynthasiser
      last edited by

      Is there a way to change the key width parameter in code without touching LAF? I want to fit the keyboard to the size of the screen depending on the resolution of my app. My instinct was to edit it with keyboardName.set("Data", xxx), but I don't know how to approach this as the keyboard Data property is like its own function.

      Thank you!

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

        https://forum.hise.audio/topic/7466/updating-floatingtile-content-data/2?_=1721598173242

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        C OrvillainO 2 Replies Last reply Reply Quote 2
        • C
          cynthasiser @d.healey
          last edited by

          @d-healey Perfect, that did it, thanks for the quick response!

          1 Reply Last reply Reply Quote 0
          • OrvillainO
            Orvillain @d.healey
            last edited by

            @d-healey said in Change Key Width using code:

            https://forum.hise.audio/topic/7466/updating-floatingtile-content-data/2?_=1721598173242

            Cheers man! Bit of hunting for that trace(data) technique, but that has helped!

            Musician - Instrument Designer - Sonic Architect - Creative Product Owner
            Crafting sound at every level. From strings to signal paths, samples to systems.

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

            20

            Online

            2.0k

            Users

            12.6k

            Topics

            109.7k

            Posts