Resizeable GUI with Drag and Old Stepped GUI Resize
-
It will be nice if we get two options in Future version of HISE to Resize GUI with Drag (Like regular JUCE Plugins) and Old Stepped GUI % UI Scale factor.
Basically the idea is add one more properties in Floating tile. When it will be enabled UI Scale factor will be FREE Resizable GUI (Like corner Regular JUCE plugins). So that any developer can have both style GUI scale from HISE. -
@Tania-Ghosh There’s a new setZoomLevel api for a week or two, so you can resize the UI the way you want
-
@ustk where will I get the Documentation?
-
In this HISE docs ;) https://docs.hise.audio/scripting/scripting-api/engine/index.html#setzoomlevel
@ustk said in Resizeable GUI with Drag and Old Stepped GUI Resize:
@Tania-Ghosh There’s a new setZoomLevel api for a week or two, so you can resize the UI the way you want
I don't think this is quite what is wanted here. The setZoomLevel doesn't let you drag the corner of the window to resize.
-
@d-healey but having the api is all you need to make it possible I think
-
@ustk And some C++ skills, no?
-
@d-healey no, just a panel with mouse dragging at the bottom right. The difficulty is to overcome the fact that when the size changes, the dragX/Y changes in consequence in the callback
Otherwise a simple slider at the top left, but it is less elegant... -
@ustk Oh that's a clever idea!
-
@d-healey said in Resizeable GUI with Drag and Old Stepped GUI Resize:
In this HISE docs https://docs.hise.audio/scripting/scripting-api/engine/index.html#setzoomlevel
As usual no proper written documentation or example. I knew it. What is written here already written in the API browser. At least I expected an Example Code.
In Hise 3 Proper Documentation and Example will be must needed.I don't think this is quite what is wanted here this
Hmm, Exactly I wanted (Bottom Right Corner).
-
But anyway for now How will I get FREE Resize with the
setZoomLevel
Here is my Snippet...HiseSnippet 656.3ocsUssaSCCF1tqdhVXHlDO.4xNoQUBrAHwELVOfpXGpHiID2L4472VqkXGk3LnBwSJuD7F.+NIaoExl1pD9p7e3K4ye+Gx3Ds.RS0IDZqSlGCD5iX9yUlY8lwkJxn9D5iYGxSMPhSgq8mGySSg.Bkt16sNnsZRxO+5s6yC4JAT4hPNUKEvAxHoox6389fLLbHO.NQFsP16rQk2nn5GqRb7GLKtziySTdG7b93T528qOHPZzI9FtARwb1WGL2el9qph7OUlJOODrFdDe7EU3lzalLLX7U20TBg1bb0Mesha9SYGJCjW6uRAdRd.mJDKpAzFKSolKQIuahRC0gA1WvMPO5BzqYA81j4KRjwlpHVt8P1HEVblvQYeQZUjKg9SVOMlfxzMheALLAMtFPmccc21YGW2sdyFsGnlJUP2Tv7EsN5.3RHriWWLzjLkvH0JGs5HsANV0Yq1eucq1+nsyeGZxjZiYYPhNLDRpMrsIH41.1QkEcNjrsyk7vL35DQkYYoe86lzKJDjERTqFojliigR6phiWMEGRohhO8oQ84FtsdU5CyKFRLRKcn8gKwl+hpWKVeH8BiNFa++mRK1foCxB4lk65riWkAP8XoxqsFpRkl4KN9cOZEcqsUr1a6cjtaxFKMhY0y2F0vWT09ey2xA6MXClLADlJx1jM7yq5T78fJeTmYjpoGxMIxuQnrixh7wcaB.YhRAg3GhQaX6nJrcs1VkwGTA4F+FOkA8r1zxfdWEjDwEI5yDESJ1UGOH2CxIU9VyV35az1wijO8f3XtccIQ3FsyDBqT7Lj60i44q.lWrBX1YEvr6Jf4kq.lWsBXd8shw9yj2kYzQEiIniwCxWiPoCTbrKKuij7GT.IIzC
-
@ustk @d-healey How to make something similar?
If not possible right now it is my Future (v 3) Feature request. I hope @Christoph-Hart will consider it as a valid Feature request.
-
@Tania-Ghosh https://forum.hise.audio/topic/2756/some-additions-please-enjoy
it has already been done but no one except @Lunacy-Audio has done it. his ideas are very good. i downloaded its version of hise but nothing worked.
-
@yall I Did test That Free Resizing feature, Not stable, As soon as you change the UI size in Genralsettings.xml Of your Plugin, It Crashes Or Refuses To Open.
I guess we need this as an built in option, with just a button or a line of code at the very beginning.
Something like:
Content.makeFrontInterfaceResizable("true");
And Nothing else...
And it'll automatically Add that Draggable Corner Strips to the end Product. -
@Natan said in Resizeable GUI with Drag and Old Stepped GUI Resize:
@yall I Did test That Free Resizing feature, Not stable, As soon as you change the UI size in Genralsettings.xml Of your Plugin, It Crashes Or Refuses To Open.
I guess we need this as an built in option, with just a button or a line of code at the very beginning.
Something like:
Content.makeFrontInterfaceResizable("true");
And Nothing else...
And it'll automatically Add that Draggable Corner Strips to the end Product... I vote this is NOT top of the V3 enhancement list....
-
@Lindon said in Resizeable GUI with Drag and Old Stepped GUI Resize:
.. I vote this is NOT top of the V3 enhancement list....
Yes definately. Vital fixes and improvements first :)
https://forum.hise.audio/topic/3277/possible-improvements-to-exported-plugins
-
As @ustk said, you can do it already using a panel. Here's a simpler example I just made using a knob (it only works in the compiled plugin, not in HISE).
-
And here's a version using a panel - that also demonstrates the tracking issue @ustk mentioned, I'm sure it wouldn't be to difficult to solve though.
Here's the snippet if you want to play with it yourself:
HiseSnippet 1228.3ocsW0uaaaCDmJwJq1ataEXO.D8OJj6Rcs6Wa.AcyMNIaFsI0XNMqqCCELRzVDQlzPhNotEFCXOI8QYOR6MX6HojnrsbWqAl.rg484u6zw6N2OV3SSRDwHmpmNaBE47EtClwkgcCILNp2AHmq69VgXbB6sTIMQh1e1DRRBM.43r8OpjwoZEj94u+g8IQDtO0RBgNSv7oOiMlIsT624ornniHAzSYiKH8C5zyWv6JhDSA7rsaKzDh+EjQzSHJw1xE4rygALoHdfj.fAjYeQvrAghq3F4OikvNOhpNzFM.LjgLpaHKJneVrlfPNU5ai7sMQ9W6dLKfkS2lA9JMCrUih4.msVDRUV.RsWGjNRDEnLvZfmSA3Uw.ua3NvOlMQZ4nv1m61iKowCIPZuHrLxh1huiaWAHAW1bL4B5QwvgbM7dTqV6heXqVM1qds50fjehDeIIF+Tt3713GiyTcDU1ULdhfCG7tol6MM5v3QLNEObJ2WxDbrfq4pTLVD44mo0tfcilRaTu16pWq5g7QfVMSnxWA0VOidIMxyvGL5bsg+ftVoYpK5RhhNGJS7VzyKGQ8IbZz5CICacLY9Y4dvvaAWrZBXAgVSF.COZ3p7yYJ5132xyOjvGQC7ZrWs4JeYgVen1T9yhoRv2dY91aj03iZNDti8jnHOy8ojlmGAwPl8MeyFh8jgrjlADIoIieZH8U.VaX3lZIi0zoCkgxs2UgLYNdst7zXF.5Hp2uosLjl+EVfLzqA9N36CUaYT+IJaTnLmr4yuuK9XhLrY+d36haCkkZiOu1bSt1F+GKllPyewjm.fBItrQJxswnlby2f+9GiKCT3acKrQjYEEYADlkSxBVaXacfeDy+BZPCKuBoP0iMWGSgFpL9HnfTFOkt25j6JELwq.60JenFy3UChBZL29S6uJoLHCa0JnDMJgtR0Q45Nj.xlq7xuLFqdA9hIMJyJERNFir9Z1LQWsjUcoeh5Bea72.et6JI0am9NOHlL5k6sjh2qTESytE07W2aoHH+9rtPNVcA1CvwsAatKFJxa2nwxpXulWuXt17sVhX5D0Edci.kTE51bhPReN2qQs2UqZs40vKyZ3vR4k1dJhFWJa0f43Ojhd7oiOmFm0TKSPXZ0hiC24iabnuoqbAAE7dbl74SnomsCLaWx.STZac0nyTDBhJ0CNud5fyAQr.ZLhAF4yb0MXQZvWbCFzK5c.7lNyLfEAuLgFKYpfw4.5kv5Ll4wUcOflbgTLA1LIeRBXZiSqmMsV0xR6yq4ZZegdSw8ilU7ftvLmve8mcLEb4T57GcfVdhqxZ7AP5Kcgd7XKATAnT4+L9sP48rNVn79gcPqt.BrFjHXZDQt3tQpk.SY.UHKrDhZQCdBSNqXJ9SXgoVktvTou++Hg6Mb6yj9gki2sJAuPkv+23Mc8y5tGNbH0WZAaE2id4ltq4m.TLqQLB5WEyfBB2SlNd.Lg2mBHgCUrfibc1RcGybtk5rJyLfxCzG9G3IkYa0YmTlsyXhFS7iEu12byTsf60zT.Lw061W08X0Yb9URW2VMagFC6c+ZeeUp3N.1KWm6sA5b+MPmGrA57vMPmGsA57safNe2GTG0e44ISkhwlqI.g9GpaM53bHm.UY5JRz+BRWh30B
-
@d-healey does it work for global vst? or just a window inside the vst?
-
@yall This is global, it's a standalone app :) that grey background is my desktop wallpaper :p
-
@yall Same for Me, didn't work ..I have a post there...
https://forum.hise.audio/topic/2756/some-additions-please-enjoy/27