HISE Logo Forum
    • Categories
    • Register
    • Login

    How to Set the Font Size for Combo Boxes Inside a Viewport?

    Scheduled Pinned Locked Moved Solved Scripting
    2 Posts 2 Posters 115 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.
    • clevername27C
      clevername27
      last edited by clevername27

      The Inspector's Font Size setting doesn't seem to affect combo boxes.

      I could write my own Paint function, but I'm using a Viewport because it does all that for you. :)

      Any ideas? Thanks and cheers.

      Screenshot 2024-02-13 at 19.56.22.png

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

        @clevername27 the laf also applies to components within the viewport so just register the laf to the viewport and overwrite the combobox draw methods.

        1 Reply Last reply Reply Quote 1
        • clevername27C clevername27 has marked this topic as solved on
        • First post
          Last post

        52

        Online

        1.7k

        Users

        11.7k

        Topics

        102.1k

        Posts