Forum
    • Categories
    • Register
    • Login

    Look & Feel - ComboBox Background.

    Scheduled Pinned Locked Moved General Questions
    48 Posts 8 Posters 1.5k 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.
    • David HealeyD
      David Healey @dannytaurus
      last edited by

      @dannytaurus Ah you haven't got the rectangle class enabled I'm guessing, so a.reduced won't work. Just change it to a

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

      dannytaurusD 1 Reply Last reply Reply Quote 0
      • dannytaurusD
        dannytaurus @David Healey
        last edited by

        @David-Healey I'm confused. 😜

        Your code creates LAF for drawAlertWindow but the button callback calls Engine.showMessageBox() which I thought was a different thing.

        Meat Beats: https://meatbeats.com
        Klippr Video: https://klippr.video

        David HealeyD 1 Reply Last reply Reply Quote 0
        • David HealeyD
          David Healey @dannytaurus
          last edited by

          @dannytaurus drawAlertWindow applies to message boxes and lots of other little popups.

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

          dannytaurusD 1 Reply Last reply Reply Quote 1
          • dannytaurusD
            dannytaurus @David Healey
            last edited by

            @David-Healey said in Look & Feel - ComboBox Background.:

            @dannytaurus Ah you haven't got the rectangle class enabled I'm guessing, so a.reduced won't work. Just change it to a

            I get the same thing after changing a.reduced(10) to a 🤔

            Meat Beats: https://meatbeats.com
            Klippr Video: https://klippr.video

            David HealeyD 1 Reply Last reply Reply Quote 0
            • dannytaurusD
              dannytaurus @David Healey
              last edited by

              @David-Healey said in Look & Feel - ComboBox Background.:

              @dannytaurus drawAlertWindow applies to message boxes and lots of other little popups.

              Oh, cool. Good to know. Well I'm still not seeing the LAF unfortunately.

              Meat Beats: https://meatbeats.com
              Klippr Video: https://klippr.video

              David HealeyD 1 Reply Last reply Reply Quote 0
              • David HealeyD
                David Healey @dannytaurus
                last edited by

                @dannytaurus Probably because it's global laf. Once you get an error with it you have to restart HISE, reload the snippet, don't click compile until you've changed that bit of code :)

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

                dannytaurusD 1 Reply Last reply Reply Quote 0
                • dannytaurusD
                  dannytaurus @David Healey
                  last edited by

                  @David-Healey said in Look & Feel - ComboBox Background.:

                  @dannytaurus Probably because it's global laf. Once you get an error with it you have to restart HISE, reload the snippet, don't click compile until you've changed that bit of code :)

                  Aha! Now I see it! OK... on to fixing the bug 😂

                  Meat Beats: https://meatbeats.com
                  Klippr Video: https://klippr.video

                  1 Reply Last reply Reply Quote 0
                  • David HealeyD
                    David Healey @dannytaurus
                    last edited by

                    @dannytaurus Also you should add this to the HISE juicer for future compiles HISE_USE_SCRIPT_RECTANGLE_OBJECT=1 then things like obj.area will return a rectangle object - it's backwards compatible so won't break previous projects.

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

                    dannytaurusD 1 Reply Last reply Reply Quote 1
                    • dannytaurusD
                      dannytaurus @David Healey
                      last edited by

                      @David-Healey OK, I recompiled with Rectangle support and I'm on latest commit on the develop branch, but I still don't see the black corners. 🤔

                      CleanShot 2025-12-15 at 11.38.04@2x.png

                      Meat Beats: https://meatbeats.com
                      Klippr Video: https://klippr.video

                      David HealeyD 2 Replies Last reply Reply Quote 0
                      • David HealeyD
                        David Healey @dannytaurus
                        last edited by

                        @dannytaurus Are you using your fork or Christoph's?

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

                        dannytaurusD 1 Reply Last reply Reply Quote 0
                        • dannytaurusD
                          dannytaurus @David Healey
                          last edited by

                          @David-Healey It's my fork but my develop branch is identical to Christoph's.

                          dan ~/code/HISE@develop: 🔥 git diff develop hise/develop 
                          dan ~/code/HISE@develop: 🔥 
                          

                          I keep all my own customisations on a separate branch:

                          dan ~/code/HISE@develop: 🔥 git diff meatbeats hise/develop --name-only
                          .github/workflows/build_installer.yml
                          .github/workflows/build_mac.yml
                          .github/workflows/ci_mac.yml
                          .gitignore
                          MEATBEATS.md
                          hi_backend/backend/BackendApplicationCommands.cpp
                          hi_backend/backend/BackendApplicationCommands.h
                          hi_core/hi_components/audio_components/EqComponent.cpp
                          hi_core/hi_components/floating_layout/FrontendPanelTypes.cpp
                          hi_core/hi_components/floating_layout/FrontendPanelTypes.h
                          hi_core/hi_components/keyboard/CustomKeyboard.cpp
                          hi_core/hi_components/keyboard/CustomKeyboard.h
                          hi_core/hi_core/Popup.cpp
                          hi_core/hi_core/Popup.h
                          hi_core/hi_modules/synthesisers/synths/SineSynth.cpp
                          hi_core/hi_modules/synthesisers/synths/SineSynth.h
                          hi_core/hi_modules/synthesisers/synths/WaveSynth.cpp
                          hi_core/hi_modules/synthesisers/synths/WaveSynth.h
                          hi_scripting/scripting/api/ScriptingGraphics.cpp
                          hi_tools/mcl_editor/code_editor/FullEditor.cpp
                          hi_tools/mcl_editor/code_editor/FullEditor.hpp
                          hi_tools/mcl_editor/code_editor/TextEditor.cpp
                          hi_tools/mcl_editor/code_editor/TextEditor.hpp
                          tools/auto_build/build_mac.sh
                          dan ~/code/HISE@develop: 🔥 
                          

                          Meat Beats: https://meatbeats.com
                          Klippr Video: https://klippr.video

                          David HealeyD 1 Reply Last reply Reply Quote 0
                          • David HealeyD
                            David Healey @dannytaurus
                            last edited by

                            @dannytaurus which OS?

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

                            dannytaurusD 3 Replies Last reply Reply Quote 0
                            • dannytaurusD
                              dannytaurus @David Healey
                              last edited by

                              @David-Healey macOS Sequoia 15.6

                              Meat Beats: https://meatbeats.com
                              Klippr Video: https://klippr.video

                              David HealeyD 1 Reply Last reply Reply Quote 0
                              • dannytaurusD
                                dannytaurus @David Healey
                                last edited by

                                @David-Healey I'm building Debug in Xcode with the ⌘+R (Run) command so it builds and runs in Xcode.

                                Meat Beats: https://meatbeats.com
                                Klippr Video: https://klippr.video

                                1 Reply Last reply Reply Quote 0
                                • dannytaurusD
                                  dannytaurus @David Healey
                                  last edited by

                                  @David-Healey My preprocessors might be out of date. I don't think I added any until the Rectangle one today.

                                  Meat Beats: https://meatbeats.com
                                  Klippr Video: https://klippr.video

                                  1 Reply Last reply Reply Quote 0
                                  • David HealeyD
                                    David Healey @dannytaurus
                                    last edited by

                                    @dannytaurus said in Look & Feel - ComboBox Background.:

                                    @David-Healey macOS Sequoia 15.6

                                    Testing now on Ventura

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

                                    1 Reply Last reply Reply Quote 0
                                    • David HealeyD
                                      David Healey @dannytaurus
                                      last edited by

                                      @dannytaurus Nope still seeing black here. I even tried building the develop branch from your fork just in case.

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

                                      dannytaurusD 1 Reply Last reply Reply Quote 0
                                      • dannytaurusD
                                        dannytaurus @David Healey
                                        last edited by

                                        @David-Healey Weird! Could still be a difference between Ventura and Sequoia?

                                        Well, I'm not going to try to fix a bug I can't replicate.

                                        But you can probably do a similar fix to the combo box. Add a preapreAlertWindow override and set newWindow to not be opaque.

                                        Would still like to know why I see different to you.

                                        Meat Beats: https://meatbeats.com
                                        Klippr Video: https://klippr.video

                                        David HealeyD 1 Reply Last reply Reply Quote 0
                                        • David HealeyD
                                          David Healey @dannytaurus
                                          last edited by

                                          @dannytaurus said in Look & Feel - ComboBox Background.:

                                          Weird! Could still be a difference between Ventura and Sequoia?

                                          Maybe, would be good if someone else can test it

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

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

                                          22

                                          Online

                                          2.1k

                                          Users

                                          13.2k

                                          Topics

                                          114.4k

                                          Posts