Forum

    • Register
    • Login
    • Search
    • Categories

    Stylizing build-in elements

    General Questions
    2
    3
    264
    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.
    • gorangrooves
      gorangrooves last edited by

      Hey guys,

      I am fine-tweaking the smallest graphic elements of my instrument and would like to stylize the pre-built elements...

      1. Comboboxes: how do I specify a particular font to be used and font size? It is not matching the font I loaded for the project.

      2. Floating tile-CustomSettings: how do I customize the included comboboxes (combobox size, font size, font weight, font color)?

      3. Floating Tile-CustomSettings. The following automatically-generated buttons are invisible when placed over white background: Clear MIDI CC, Change Sample Folder and Toggle Debug Mode. How do I change background color and text color for those buttons?

      4. Floating Tile- Keyboard: Is it possible to change the style of the keyboard? The value "UseFlatStyle": true, doesn't make the keyboard look flat and modern, but rather have a standard look to it. Is there more than 1 keyboard look available?

      I hope that those things are possible to do. Thank you!

      Goran Rista
      https://gorangrooves.com

      Handy Drums and Handy Grooves
      https://library.gorangrooves.com

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

        @gorangrooves said in Stylizing build-in elements:

        1. Comboboxes: how do I specify a particular font to be used and font size? It is not matching the font I loaded for the project.

        You have to use Engine.setGlobalFont(). Last time I tried it, which was months ago, it screwed up all my fonts, so test it before you implement it in your main project. It might not have any problems now.

        1. Floating tile-CustomSettings: how do I customize the included comboboxes (combobox size, font size, font weight, font color)?

        Learn C++.

        You can tweak some of the colours through the interface designer or through a tileData object. Checkout the way I'm doing it - https://github.com/davidhealey/librewave_woodwinds/blob/master/Scripts/settings.js

        1. Floating Tile-CustomSettings. The following automatically-generated buttons are invisible when placed over white background: Clear MIDI CC, Change Sample Folder and Toggle Debug Mode. How do I change background color and text color for those buttons?

        See number 2

        1. Floating Tile- Keyboard: Is it possible to change the style of the keyboard? The value "UseFlatStyle": true, doesn't make the keyboard look flat and modern, but rather have a standard look to it. Is there more than 1 keyboard look available?

        You can change to vector style or you can use completely custom graphics. Documentation is here - http://hise.audio/floating_tile_api/class_midi_keyboard_panel.html - if you use custom graphics you won't be able to change the keyboard colours to show key switches or playable range.

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

        1 Reply Last reply Reply Quote 0
        • gorangrooves
          gorangrooves last edited by

          @d-healey Thank you so much! 🙏 I will check out all of those resources carefully. Hopefully, I will be able to make them work 🙂

          Goran Rista
          https://gorangrooves.com

          Handy Drums and Handy Grooves
          https://library.gorangrooves.com

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

          20
          Online

          982
          Users

          6.6k
          Topics

          60.8k
          Posts