Scale UI with ComboBox
-
How can I scale UI with ComboBox ? I don't want to use floatingtiles> settings...
I want to use other way. How ? please help. -
@DabDab
Settings.setZoomLevel()
-
-
@DabDab If you need a snippet for that you don't deserve to have such power
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
-
@d-healey said in Scale UI with ComboBox:
@DabDab If you need a snippet for that you don't deserve to have such power
HiseSnippet 831.3ocsUs0aSCCE1tqgQC21j3MdIZO0JsUkrqHg.F8FphcohNlPLMM453tZMG6pD2xpP6mF+m3e.bbRZaFqprUIxCQ9b0e93uywsBUTVTjJDgKbxn9LD9oVsGI08p1ivknl0P3macHIRyBcRTUYTeRTDyGgwK8QiBbg7n3ue89JDAQRYSUgPmp3T1A7.tdp1V6+ItPzf3yNgGjw6s2uIUIqpDpA.dVxxE0mPuhbI6HhwsbVH7ip6y0pv1ZhlEA9TQ4OpcO02kI9eJOh2QvLBdn1PhRTip1iK7aM9rFgP37sldxWJ4j+RqC497I5mVAVI1fyzHxVCv4lGj7d.PBmAR4SfzpVsog795oVL34IVMkvERWBTpyBkDeQ49I1ppB7PpKGPth0HDDlDQwcccW2A9U5M111bofKYNcGHoZtR5XJ+AcTUTW6YRQnRTjpB5qjPxV2YHQLfUx9G1EDJJQ3HXCYhHm25bla4M2YcG2xw+1C96U107KdkQdyxtmCaXAdWmhwow4cNtkrKTnMSq4xKiJGwzeSoBNvjyhIY9rDO2vw6b.s2.wO9bcISWcLtJt1DLuVISZRQdUhPzAHPEu6gBxVli7QJM6XYw3Cl8M1N+sotcmoszbIXgyzrgaGNu.KJGDzgElsrZbDt7uMi5Q2OFEMozjwQkrojqOtOKUtgR3aXJl02k+gRqsvpuzrFQSLTxTcfe8YgZtAN3ZrgPOcBAsfUMVzUZU+XeSuPP3k0wVWIk9Nt7i39F16jaCz0HrE9UXDZjYwIvVGPh0sLrjqYAv98BKO6Ms2xda6cr20dOTDYHqorUHCtoMrdzcaafFVk+.AQe6tXy3pTCvEwsZcLsGx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sA4oJ8nPTIfc63Q+wfCoF5rv.QDxRJOyHrG.7g7KgIBUT51jC44WXzoPycyUHzjWkzaNivSUbYYNuFo72gnqZR36F0aZiv+bVu2HhMSf5DdOLBMgKNehwJ8dTEdZxA4qdvtxcvzTWgTZFDCmf0fKjixMpxvcpyvLZWYNtNogE5lGiSd5UzKgdkE6a.RBCOApd2lD5ss2C81waWu871GkSujOPMLiCLcaWO5SGa.CrzwERpYwoX1Q20F.h3BiNriGT4ByT2Q6e2Fs8sBw6RFJLrIKGisVBFgK3eDXr9AgaRNZ7XNyLGfqSN9O+wL8G865B6bvSnlLgkBbZQRD7lHiCYWADM6f.bKaKakbfU1VAh3p3RgOBe0FCsx3ZigyLhRnrL8qYUM51mbtVoF.SpxWaaCO6Cx9Mc3DRP2.TB752qYL6w+A.ee49r8J3yCWAe1YE7Y2Uvm8VAe1eE74QeQer+wiesvnSpZG.ECOpbRKFejhBLqRVH5+7cvdxD
Not woking in here.
-
@DabDab What version of HISE are you using?
-
@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. -
@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.
-
@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.
-
@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
@DabDab the snippet works here
-
@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.
-
@DabDab Do you have a namespace in your project called Settings?
-
-
is there something wrong with this approach?
HiseSnippet 1205.3ocsV0uaaaCDmxIroVY8Kf8.Hj+xAH0P1MeLrOcsSbfQiSLpSCFVPPKsDcLQnHEjnRhWW.1iPejxizdC5NpurThS2lwp+CYc+3w69cmNdGGDHcnggx.jQ0im5SQFeCd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Czqk1k3.cD.bUPTBb7j5W6IiDp9QbEymytC46voj.83uNclCuN.5gq6Gcm3cTz8Yv6Bo5lH6evCwqCXg5Lxo.rkU7vfz2xeYmz2zCFReIGIaMXHA7+Yl2.W43diSgA4R2HNQUd5t9JMoK.wRoQp5wlhPlZZwq77+1H++sT7E3ALkyj4ywJygiPOzuFbL8hROAuGTq5nlQvkwc+0uN2JB8VYj9bVehJfo6lcXj2P3rqCE7t.5BomsYTQeJMQ1VKqy.CoB2XgOC+RWrgV1HcwFYKh7HNAx26jL6ReUrGGi.bRDeKzpv0gAYq7gVXrccajGbr38NN5v+kPq64umlKvdd0BrmMWf8r0BrmsWf8ryBrmu6KtGcGoWGAsgSNN..C1KtQrgwdBBTYEWEh9aPpSvcB
-
@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.
-
@DabDab Do you have a Settings namespace?
@Lindon said in Scale UI with ComboBox:
Where is "Settings" defined?
Built in HISE class.
-
-
@DabDab You're going to have to share your project or a non-working snippet then