Forum
    • Categories
    • Register
    • Login

    Look & Feel - ComboBox Background.

    Scheduled Pinned Locked Moved General Questions
    48 Posts 8 Posters 1.2k 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 Seems to work perfectly

      2679e95d-956d-462c-9f26-5f007ba5124f-image.png

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

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

        @David-Healey Excellent! Your example just reminded me this also solves my issue with getting rounded corners on the MID Learn popup too. Bonus 🎉

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

        David HealeyD 1 Reply Last reply Reply Quote 2
        • ChazroxC
          Chazrox @dannytaurus
          last edited by

          @dannytaurus You just upped everyones combo box game. haha. 🔥

          1 Reply Last reply Reply Quote 1
          • ILIAMI
            ILIAM
            last edited by

            @dannytaurus @David-Healey Doesnt work on older Version!
            I see a White Bg Here!
            Did you Guys Changed the Source code?

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

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

              Did you Guys Changed the Source code?

              Yes you'll need to wait for Christoph to merge it, use one of our forks, or make your own fork and pull in the PRs.

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

              ILIAMI 1 Reply Last reply Reply Quote 1
              • ILIAMI
                ILIAM @David Healey
                last edited by

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

                wait for Christoph to merge it, use one of our forks, or make your own fork and pull in the PRs.

                Great!
                Can you point me to the Code you guys changed?
                I want to stay with my Current Version of Hise for now

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

                  @ILIAM Check these two PRs from @dannytaurus

                  https://github.com/christophhart/HISE/pull/805
                  https://github.com/christophhart/HISE/pull/806

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

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

                    @dannytaurus Do you think the same trick would work with alert windows?

                    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 Yeah, can't see why not! 👍

                      I've never used an AlertWindow. Do you have a small snippet?

                      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 Here ya go

                        HiseSnippet 1027.3ocsVstaZbDEdVr2zBsMpQpO.S3WqqPD1XarsrppuRJpFGTvMs+KZXlyBS8vLnYm01nJK0Gs9+9xz2f1yr6ZC9hbRPpH.y457MemKq6aMbHM0XIA0Na1TfD70gClociObLSpIcOhD77vdrTGXoEpNX1TVZJHHAAq7FuhfpqRxe8O+3ALESyg4pHj2ajb3D4Doat1968yRkpCS.mImrf2arWWtQenQYxP7rRXKxTF+b1H3Tl2sJgjehkNlD78gayGJZuifs0v1sGtULWrSRq3cX.Lb8M2dcXSdadbRaVKRvyNVHcF6.GyAoXROvHlMXr4RcwA7dYpbnB7BwjA3IWnlb3XoRz+FxIkPBVs+bpZkBp56B6IExa0Omx91bCz4QrHoET4ofT7mAjBV.RqV.oWDNfakScys3wyWE1UiUvDFVaVDJE9Rp72UBOzfdncMmvNG5XQgaiHpcqVMn3WqsasZX8I0QUrD5OPOVORpglbKfWj2nLCYphDdhwb99ZQG.TQ9fd0qdIceEXczKkZg4xZX7MsvHouspSll6jFcTcgkcYta+ZtW0aPStw1nFTyveesZ+QspWvrTFd5nbSFdz6ViRo3mpiZlBthlmnVWkjrd75udiMVa2BaIXG26LYZAHdGvcL8HEDwZPecqbOPeteNJ9SZyKGKcvMoo.ixQZPbFbkKxiBmzofFTFdkDYbPDE2ZsFz5bjNQM0wPu1yB0jZExW2donF8AYNmQG64dqQEwMSlZzXXMnWvTYP98UlPidYoX0pVvkY0X1pVx9oXiSOrRiSIGXtJp9YdvfTW8yFKSo3aFE6xbnF+E8ZLxapzi72zxCLpdITpuVACjCnCYJ0PbBL59HEyzB2hSMN3s5nbzV65Zz6aJI4QsUlKrf+nl8qFrOUfQ5rICA6hbk2QbT3tyWO6Sa9hWPKK3nQ2UKcucJTJ2wnD94F+ue3zHojWwe8KcOh4X9AzRcneSw9ZoGNAGAWfqDKFWqFdDjdtyLM22xhAI3Kb4Ved4vbA4SjBe.kUBxU2t27OOeuY2J7Wp8jo8LSv7vrn5fJflgWW+BoS.lU6m6SYW.c08s.Vq8xjGtHAWgYDYJl6t607a7KMfEi6rLwuvPmJcyV7IBeFK6Z8jK69Tg3KB6Kc7wONFq7HXDKS+efwxGQ7MgGmjf6alCvUC67aK6yC9HGOteyI0i5wbVI1dDdZ1jA3JLNfmtVCJL4gAU7spExs7xdFX.nE4B+K9pzXrWNnzX7MFISXbq4C7hQP+Cg9xbMHlz4OjtJ9eKfxzXR9X4h77DrE7Cb9cS0CB70KafqurAtwxF3lKafsW1.2ZYCb6Odf9MD6m4LSJFaHjd8ONeOVPvw4qPx6VI+Gsp645A
                        

                        647307ca-aa98-4e19-bede-fadc7b683d7d-image.png

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

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

                          @David-Healey Cheers. I'll have a look in the morning. Just fixing some minor niggles with the MIDI Learn Panel at the moment. 😜

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

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

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

                            @dannytaurus Here ya go

                            647307ca-aa98-4e19-bede-fadc7b683d7d-image.png

                            Hmm.. what am I doing wrong? Loaded your snippet using the latest develop commit 3c36e36c.

                            HISE-AlertWindow-Test.png

                            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 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
                                            • First post
                                              Last post

                                            14

                                            Online

                                            2.1k

                                            Users

                                            13.0k

                                            Topics

                                            113.2k

                                            Posts