HISE Logo Forum
    • Categories
    • Register
    • Login

    Scale UI with ComboBox

    Scheduled Pinned Locked Moved General Questions
    26 Posts 5 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.
    • DabDabD
      DabDab
      last edited by

      How can I scale UI with ComboBox ? I don't want to use floatingtiles> settings...
      I want to use other way. How ? please help.

      Bollywood Music Producer and Trance Producer.

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @DabDab
        last edited by

        @DabDab Settings.setZoomLevel()

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        DabDabD 1 Reply Last reply Reply Quote 0
        • DabDabD
          DabDab @d.healey
          last edited by

          @d-healey said in Scale UI with ComboBox:

          Settings.setZoomLevel()

          Can I get a minimal snippet ?

          Bollywood Music Producer and Trance Producer.

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @DabDab
            last edited by d.healey

            @DabDab If you need a snippet for that you don't deserve to have such power :face_savoring_food:

            HiseSnippet 831.3ocsUs0aSCCE1tqgQC21j3MdIZO0JsUkrqHg.F8FphcohNlPLMM453tZMG6pD2xpP6mF+m3e.bbRZaFqprUIxCQ9b0e93uywsBUTVTjJDgKbxn9LD9oVsGI08p1ivknl0P3macHIRyBcRTUYTeRTDyGgwK8QiBbg7n3ue89JDAQRYSUgPmp3T1A7.tdp1V6+ItPzf3yNgGjw6s2uIUIqpDpA.dVxxE0mPuhbI6HhwsbVH7ip6y0pv1ZhlEA9TQ4OpcO02kI9eJOh2QvLBdn1PhRTip1iK7aM9rFgP37sldxWJ4j+RqC497I5mVAVI1fyzHxVCv4lGj7d.PBmAR4SfzpVsog795oVL34IVMkvERWBTpyBkDeQ49I1ppB7PpKGPth0HDDlDQwcccW2A9U5M111bofKYNcGHoZtR5XJ+AcTUTW6YRQnRTjpB5qjPxV2YHQLfUx9G1EDJJQ3HXCYhHm25bla4M2YcG2xw+1C96U107KdkQdyxtmCaXAdWmhwow4cNtkrKTnMSq4xKiJGwzeSoBNvjyhIY9rDO2vw6b.s2.wO9bcISWcLtJt1DLuVISZRQdUhPzAHPEu6gBxVli7QJM6XYw3Cl8M1N+sotcmoszbIXgyzrgaGNu.KJGDzgElsrZbDt7uMi5Q2OFEMozjwQkrojqOtOKUtgR3aXJl02k+gRqsvpuzrFQSLTxTcfe8YgZtAN3ZrgPOcBAsfUMVzUZU+XeSuPP3k0wVWIk9Nt7i39F16jaCz0HrE9UXDZjYwIvVGPh0sLrjqYAv98BKO6Ms2xda6cr20dOTDYHqorUHCtoMrdzcaafFVk+.AQe6tXy3pTCvEwsZcLsGxHtdT1wYOfVa241Zeeg3pVs3ZZuYiwby.ivUz+CLlNP7YV061kQ0SAXdqFecQm98O19OqFXlCbHQGxMTfiFDzFdGfxfcWJggAFZQNCMMQ10Hap.sYR+XgeCeoF8Lx3TidiMBjKZn5BZR6mYj6ii0.XRF+BSA3oNP1wCE2RBwY4V1EE.S+ufRMG+M7PnYGylKPLas.wr8BDyNKPL6t.wr2BDyqmaLlGd+v.sJHoc.Tzpd7rILttj.LqXVH5OfgaGFF
            

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            DabDabD 1 Reply Last reply Reply Quote 0
            • DabDabD
              DabDab @d.healey
              last edited by

              @d-healey said in Scale UI with ComboBox:

              @DabDab If you need a snippet for that you don't deserve to have such power :face_savoring_food:

              HiseSnippet 831.3ocsUs0aSCCE1tqgQC21j3MdIZO0JsUkrqHg.F8FphcohNlPLMM453tZMG6pD2xpP6mF+m3e.bbRZaFqprUIxCQ9b0e93uywsBUTVTjJDgKbxn9LD9oVsGI08p1ivknl0P3macHIRyBcRTUYTeRTDyGgwK8QiBbg7n3ue89JDAQRYSUgPmp3T1A7.tdp1V6+ItPzf3yNgGjw6s2uIUIqpDpA.dVxxE0mPuhbI6HhwsbVH7ip6y0pv1ZhlEA9TQ4OpcO02kI9eJOh2QvLBdn1PhRTip1iK7aM9rFgP37sldxWJ4j+RqC497I5mVAVI1fyzHxVCv4lGj7d.PBmAR4SfzpVsog795oVL34IVMkvERWBTpyBkDeQ49I1ppB7PpKGPth0HDDlDQwcccW2A9U5M111bofKYNcGHoZtR5XJ+AcTUTW6YRQnRTjpB5qjPxV2YHQLfUx9G1EDJJQ3HXCYhHm25bla4M2YcG2xw+1C96U107KdkQdyxtmCaXAdWmhwow4cNtkrKTnMSq4xKiJGwzeSoBNvjyhIY9rDO2vw6b.s2.wO9bcISWcLtJt1DLuVISZRQdUhPzAHPEu6gBxVli7QJM6XYw3Cl8M1N+sotcmoszbIXgyzrgaGNu.KJGDzgElsrZbDt7uMi5Q2OFEMozjwQkrojqOtOKUtgR3aXJl02k+gRqsvpuzrFQSLTxTcfe8YgZtAN3ZrgPOcBAsfUMVzUZU+XeSuPP3k0wVWIk9Nt7i39F16jaCz0HrE9UXDZjYwIvVGPh0sLrjqYAv98BKO6Ms2xda6cr20dOTDYHqorUHCtoMrdzcaafFVk+.AQe6tXy3pTCvEwsZcLsGxHtdT1wYOfVa241Zeeg3pVs3ZZuYiwby.ivUz+CLlNP7YV061kQ0SAXdqFecQm98O19OqFXlCbHQGxMTfiFDzFdGfxfcWJggAFZQNCMMQ10Hap.sYR+XgeCeoF8Lx3TidiMBjKZn5BZR6mYj6ii0.XRF+BSA3oNP1wCE2RBwY4V1EE.S+ufRMG+M7PnYGylKPLas.wr8BDyNKPL6t.wr2BDyqmaLlGd+v.sJHoc.Tzpd7rILttj.LqXVH5OfgaGFF
              

              Ooops !! Oh I see.. This is so easy. My bad. I was over thinking on it. :face_with_tongue:
              Anyhow.. Thank you for the help.

              Bollywood Music Producer and Trance Producer.

              d.healeyD 1 Reply Last reply Reply Quote 1
              • d.healeyD
                d.healey @DabDab
                last edited by

                @DabDab said in Scale UI with ComboBox:

                I was over thinking on it.

                I do that all the time!

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                1 Reply Last reply Reply Quote 1
                • DabDabD
                  DabDab
                  last edited by DabDab

                  @d-healey

                  HiseSnippet 935.3ocsV01aaaCDlzIboV8cf9CPnexAH0PJMuTfhs5EmjAi1jZL0ELrhhBZJ5XhPQJHQkFigBr+XCn+Z5m6+ftiRxxzqtu.iV8ABe2w6tGd74N5gYZFOOWmgvsewzTNBeCRzTkYR+ITgBM3PD9VjSn4FdlekpCllRyy4wHLdseyp.2dcT42GdxATIUw3yUgPmoEL9yDIBybsC68TgTdLMl+BQhyt2o2.lV0WK0E.dViDfRorKnmyOkZ2VKBB+SGEKL5rHC0vyQ30OPGOMZh9Mpp8elHWLRxsBgnHHPUpOVKisH1pE0ehPFOb14NGAQY37pvZUUg6QNQDKZzOuZbmRC9y8vsdfasH7VaA3E5Bu.G3sDHgcfz5UP5tjHVlH0L2hEOWmLPAWNioPY2EJU6E05ewj9ZXGJS2D5E7iy.gFO5rWPvV9vxlO1yySnjBE2ebghYDZku8pHYj9.8Ug1PjokcX5jTsBB1V9WRkE7M89au1RMiJ8k7K4xb+e1+kAc2d2s7C5VtrOrF1MvtT9Kq71cCdEjv1hw9cJCi+u3GroW61QbiQnNOuaN27WZcxyrwrSUjeY0Nefe3q.z9Vv+Ymqy4l9yvUm62f46uoML0HuOUJGAjoNe5gBhlyQ9Tsg+bUmxCl2a87++lFOdo1pikjmsTyVdd1WxwNphjQ7L2xpcivk+hLJxmmQ4R3YUkFmMpUCTByyS4pOWa.ptdZYe0nB1poj6cqZtWjTDyyPBfhsA4oJ8nPTIfc63Q+wfCoF5rv.QDxRJOyHrG.7g7KgIBUT51jC44WXzoPycyUHzjWkzaNivSUbYYNuFo72gnqZR36F0aZiv+bVu2HhMSf5DdOLBMgKNehwJ8dTEdZxA4qdvtxcvzTWgTZFDCmf0fKjixMpxvcpyvLZWYNtNogE5lGiSd5UzKgdkE6a.RBCOApd2lD5ss2C81waWu871GkSujOPMLiCLcaWO5SGa.CrzwERpYwoX1Q20F.h3BiNriGT4ByT2Q6e2Fs8sBw6RFJLrIKGisVBFgK3eDXr9AgaRNZ7XNyLGfqSN9O+wL8G865B6bvSnlLgkBbZQRD7lHiCYWADM6f.bKaKakbfU1VAh3p3RgOBe0FCsx3ZigyLhRnrL8qYUM51mbtVoF.SpxWaaCO6Cx9Mc3DRP2.TB752qYL6w+A.ee49r8J3yCWAe1YE7Y2Uvm8VAe1eE74QeQer+wiesvnSpZG.ECOpbRKFejhBLqRVH5+7cvdxD
                  

                  Not woking in here.
                  53f5d692-e229-4334-a3b0-c2999bfc7da8-image.png

                  Bollywood Music Producer and Trance Producer.

                  d.healeyD Dan KorneffD LindonL 3 Replies Last reply Reply Quote 0
                  • d.healeyD
                    d.healey @DabDab
                    last edited by

                    @DabDab What version of HISE are you using?

                    Libre Wave - Freedom respecting instruments and effects
                    My Patreon - HISE tutorials
                    YouTube Channel - Public HISE tutorials

                    DabDabD 1 Reply Last reply Reply Quote 0
                    • Dan KorneffD
                      Dan Korneff @DabDab
                      last edited by Dan Korneff

                      @DabDab it'll only be active in exported projects. Interface scale in HISE will always be 100%

                      Edit:
                      Just saw you have a console error. Your snip is working fine here.

                      Dan Korneff - Producer / Mixer / Audio Nerd

                      DabDabD ulrikU 2 Replies Last reply Reply Quote 0
                      • DabDabD
                        DabDab @d.healey
                        last edited by DabDab

                        @d-healey I have tried on both HISE 3.5.& 3.6. Your snippet is working fine but When I add your scripts in my real project it is not working.

                        Bollywood Music Producer and Trance Producer.

                        1 Reply Last reply Reply Quote 0
                        • DabDabD
                          DabDab @Dan Korneff
                          last edited by

                          @Dan-Korneff When I imported snip from Mr @d-healey into a blank project it is working fine. But as soon as I append it in my existing project it is not working.

                          Bollywood Music Producer and Trance Producer.

                          1 Reply Last reply Reply Quote 0
                          • ulrikU
                            ulrik @Dan Korneff
                            last edited by ulrik

                            @Dan-Korneff said in Scale UI with ComboBox:

                            @DabDab it'll only be active in exported projects. Interface scale in HISE will always be 100%

                            Actually you can see if it's working in Hise if you're using the "Interface Preview" and close it between the zoom changes, at least here on Mac

                            Skärmavbild 2023-10-17 kl. 08.36.53.png Skärmavbild 2023-10-17 kl. 08.36.41.png

                            @DabDab the snippet works here

                            Hise Develop branch
                            MacOs 15.3.1, Xcode 16.2
                            http://musikboden.se

                            DabDabD 1 Reply Last reply Reply Quote 0
                            • DabDabD
                              DabDab @ulrik
                              last edited by

                              @ulrik Hm.. I know... But this is not working in a real project that I am working. This is strange o me. may be something is overriding the UI Scaling.

                              Bollywood Music Producer and Trance Producer.

                              d.healeyD 1 Reply Last reply Reply Quote 0
                              • d.healeyD
                                d.healey @DabDab
                                last edited by

                                @DabDab Do you have a namespace in your project called Settings?

                                Libre Wave - Freedom respecting instruments and effects
                                My Patreon - HISE tutorials
                                YouTube Channel - Public HISE tutorials

                                1 Reply Last reply Reply Quote 0
                                • LindonL
                                  Lindon @DabDab
                                  last edited by Lindon

                                  @DabDab said in Scale UI with ComboBox:

                                  Settings.setZoomLevel(value);
                                  

                                  Where is "Settings" defined?

                                  HISE Development for hire.
                                  www.channelrobot.com

                                  LindonL 1 Reply Last reply Reply Quote 0
                                  • LindonL
                                    Lindon @Lindon
                                    last edited by Lindon

                                    is there something wrong with this approach?

                                    HiseSnippet 1205.3ocsV0uaaaCDmxIroVY8Kf8.Hj+xAH0P1MeLrOcsSbfQiSLpSCFVPPKsDcLQnHEjnRhWW.1iPejxizdC5NpurThS2lwp+CYc+3w69cmNdGGDHcnggx.jQ0im5SQFeCd3TgZRmIDl.0aWjwSw8IgJZfUBT6o9jvPpKxvXo80.FUWFE+6u9k1DNQ3PmAgPmHYNzCXdL0LzAsdCiy6RboGy7Jn8ls54HEcjbYDvmkv1HehyEjyoGRzpUAiLdzdtLkLXnhnngHikaKcmNbh7JQh9mvBYi3TsPCzPvPIvckbWMi0nnNSXb2AYwcHBrxfYYgkRxBeKtOykkiOKa773Erlsih4CiJko2RknWihzyt.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P3rqCE7t.5BomsYTQeJMQ1VKqy.CoB2XgOC+RWrgV1HcwFYKh7HNAx26jL6ReUrGGi.bRDeKzpv0gAYq7gVXrccajGbr38NN5v+kPq64umlKvdd0BrmMWf8r0BrmsWf8ryBrmu6KtGcGoWGAsgSNN..C1KtQrgwdBBTYEWEh9aPpSvcB
                                    

                                    HISE Development for hire.
                                    www.channelrobot.com

                                    DabDabD 1 Reply Last reply Reply Quote 1
                                    • DabDabD
                                      DabDab @Lindon
                                      last edited by

                                      @Lindon said in Scale UI with ComboBox:

                                      is there something wrong with this approach?

                                      HiseSnippet 1205.3ocsV0uaaaCDmxIroVY8Kf8.Hj+xAH0P1MeLrOcsSbfQiSLpSCFVPPKsDcLQnHEjnRhWW.1iPejxizdC5NpurThS2lwp+CYc+3w69cmNdGGDHcnggx.jQ0im5SQFeCd3TgZRmIDl.0aWjwSw8IgJZfUBT6o9jvPpKxvXo80.FUWFE+6u9k1DNQ3PmAgPmHYNzCXdL0LzAsdCiy6RboGy7Jn8ls54HEcjbYDvmkv1HehyEjyoGRzpUAiLdzdtLkLXnhnngHikaKcmNbh7JQh9mvBYi3TsPCzPvPIvckbWMi0nnNSXb2AYwcHBrxfYYgkRxBeKtOykkiOKa773Erlsih4CiJko2RknWihzyt.8lCkLJPokSnzKvCcBX9pYqn4yp3dB3iyXBj1KRkDcQUpTA2QBZHT08HWP6F.B46n1111aXAOV+GLMgTenx5RRfUWtjnXhyOlwoMr9IqLCbNU0Q54KEfPs0Jo0ZZKXZxDblfZMNR3nXRgk9qo2HYa40MzFIPxq4jYgM.ewinqa9QypboCgawoWR4gfCO0tdys1vxtd7icfmMpaqeD+lVtYc6y.OVkM1pVrYr9YK60MqZVs5PpRSqv5gT0uIkdGnsZsDaeZhtuzpwY.guArv7isbVu15Zyjx8NDNeDTQV69gEXsBA8gRE8HQs3Py7FSq6tz3wycsTawoAycY8gkfuzFqIh7FQCJlX0JBUPkKKwObYYwSMNIolBJJE8DL0Q9TwCcVBklO0kvorBTUEW.+zzB3gblKM.wf5zUvuQHG0.ES3hsMPuq2tDEIyLfEAu3SCTLc.XrK8RnsRx4hp3cogWnj9Pbl+ID5Tj3zmjcpgHn7Xe9Xb76MPWm6vaG0ZZtvedRqqXtpI4.eHr0DJ67Iy5fcKuklW49B+OFfWWrK2zhB9j.vFELVN+PE.WIwCOO0CYkew9XUbd0XQ+nJ3mVQs7HvZXiU.Ilh5AYwmgaX1z7UlaZtk41l6fBIWR6IFDPgJdcKDz+grYyGJad6UYYSrweXfPYYRrwOhPkBwUUocdSbQw1Kwd5Y3RcbJFptkc3nyylgT8Q.xmQowbITTYzlEgyY7mtGiSqFON8yQmnPkzKqkCJtlsxmLvezzxZscCXWRCV66sFS3gzMhghKbKAcTjxORUBpcz3wzfgreurlCId9b5agCwkf2mKGQ3sGzurxp.JwCXUeo6cLCzqk1k3.cD.bUPTBb7j5W6IiDp9QbEymytC46voj.83uNclCuN.5gq6Gcm3cTz8Yv6Bo5lH6evCwqCXg5Lxo.rkU7vfz2xeYmz2zCFReIGIaMXHA7+Yl2.W43diSgA4R2HNQUd5t9JMoK.wRoQp5wlhPlZZwq77+1H++sT7E3ALkyj4ywJygiPOzuFbL8hROAuGTq5nlQvkwc+0uN2JB8VYj9bVehJfo6lcXj2P3rqCE7t.5BomsYTQeJMQ1VKqy.CoB2XgOC+RWrgV1HcwFYKh7HNAx26jL6ReUrGGi.bRDeKzpv0gAYq7gVXrccajGbr38NN5v+kPq64umlKvdd0BrmMWf8r0BrmsWf8ryBrmu6KtGcGoWGAsgSNN..C1KtQrgwdBBTYEWEh9aPpSvcB
                                      

                                      No problem. This is working. Even the mr @d-healey 's snip is working. But when I am writing it into my (other real project) this is not being changed. That is astonishing to me. & weird too.

                                      Bollywood Music Producer and Trance Producer.

                                      d.healeyD 1 Reply Last reply Reply Quote 0
                                      • d.healeyD
                                        d.healey @DabDab
                                        last edited by d.healey

                                        @DabDab Do you have a Settings namespace?

                                        @Lindon said in Scale UI with ComboBox:

                                        Where is "Settings" defined?

                                        Built in HISE class.

                                        Libre Wave - Freedom respecting instruments and effects
                                        My Patreon - HISE tutorials
                                        YouTube Channel - Public HISE tutorials

                                        DabDabD 1 Reply Last reply Reply Quote 0
                                        • DabDabD
                                          DabDab @d.healey
                                          last edited by

                                          @d-healey said in Scale UI with ComboBox:

                                          Do you have a Settings namespace?

                                          No..

                                          Bollywood Music Producer and Trance Producer.

                                          d.healeyD 1 Reply Last reply Reply Quote 0
                                          • d.healeyD
                                            d.healey @DabDab
                                            last edited by

                                            @DabDab You're going to have to share your project or a non-working snippet then

                                            Libre Wave - Freedom respecting instruments and effects
                                            My Patreon - HISE tutorials
                                            YouTube Channel - Public HISE tutorials

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

                                            29

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.7k

                                            Posts