HISE Logo Forum
    • Categories
    • Register
    • Login

    Font sizes in drop-down menus not updating with Scale Factor and Custom LAF

    Scheduled Pinned Locked Moved Bug Reports
    6 Posts 2 Posters 383 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.
    • T
      tomekslesicki
      last edited by

      I've been customizing the LAF thanks to the amazing addition that @Christoph-Hart gave us in the last few updates and noticed just one little bug. Here's the interface with the scale factor set to 100%:

      100.png

      And here it is when set to 125%:

      125.png

      The main font got larger, as it should, but the one in the drop-down list didn't.

      Christoph, would it be possible to fix that?

      1 Reply Last reply Reply Quote 0
      • T
        tomekslesicki
        last edited by

        The right-click popup doesn’t resize as well, but I think it’s the same class in the code

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

          Yeah I noticed that too at some point, I remember there was some discussion about this in the JUCE forum too, I'll see what I can do (IIRC it was a setting that you have to turn on, but then it breaks context menus on iOS AUv3 plugins...)

          T 1 Reply Last reply Reply Quote 1
          • T
            tomekslesicki @Christoph Hart
            last edited by

            @Christoph-Hart I'm not releasing the plugins for iOS so if there's a quick fix for this that wouldn't break things for other users, I'm all ears!

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

              HI_LookAndFeels.h, line 300:

              bool shouldPopupMenuScaleWithTargetComponent(const PopupMenu::Options& /*options*/) override
              {
                  return false;
              };
              

              I'll leave it as riddle what to do in order to scale the popup menu with the target component :)

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

                @Christoph-Hart You're a riddle master, thank you!

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

                50

                Online

                1.7k

                Users

                11.7k

                Topics

                101.8k

                Posts