Look & Feel - ComboBox Background.
-
@David-Healey said in Look & Feel - ComboBox Background.:
@dannytaurus Here ya go

Hmm.. what am I doing wrong? Loaded your snippet using the latest develop commit
3c36e36c.
-
@dannytaurus Ah you haven't got the rectangle class enabled I'm guessing, so
a.reducedwon't work. Just change it toa -
@David-Healey I'm confused.

Your code creates LAF for
drawAlertWindowbut the button callback callsEngine.showMessageBox()which I thought was a different thing. -
@dannytaurus
drawAlertWindowapplies to message boxes and lots of other little popups. -
@David-Healey said in Look & Feel - ComboBox Background.:
@dannytaurus Ah you haven't got the rectangle class enabled I'm guessing, so
a.reducedwon't work. Just change it toaI get the same thing after changing
a.reduced(10)toa
-
@David-Healey said in Look & Feel - ComboBox Background.:
@dannytaurus
drawAlertWindowapplies to message boxes and lots of other little popups.Oh, cool. Good to know. Well I'm still not seeing the LAF unfortunately.
-
@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 :)
-
@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

-
@dannytaurus Also you should add this to the HISE juicer for future compiles
HISE_USE_SCRIPT_RECTANGLE_OBJECT=1then things likeobj.areawill return a rectangle object - it's backwards compatible so won't break previous projects. -
@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.


-
@dannytaurus Are you using your fork or Christoph's?
-
@David-Healey It's my fork but my
developbranch 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: 🔥 -
@dannytaurus which OS?
-
@David-Healey macOS Sequoia 15.6
-
@David-Healey I'm building Debug in Xcode with the ⌘+R (Run) command so it builds and runs in Xcode.
-
@David-Healey My preprocessors might be out of date. I don't think I added any until the Rectangle one today.
-
@dannytaurus said in Look & Feel - ComboBox Background.:
@David-Healey macOS Sequoia 15.6
Testing now on Ventura
-
@dannytaurus Nope still seeing black here. I even tried building the develop branch from your fork just in case.
-
@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.
-
@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