Solved Go easy on the height! - 800 px limitation
-
Is there a limitation in GUI height and width? Apparently the height limit is 800 px.
I want to add the new Expandable GUI feature to my plugins, but HISE crashes.
The snippet below gives me a crash. But when the GUI_HEIGHT variable is set to 525, there is no crash.
HiseSnippet 2128.3ocsX0sbaabEFPVHIj0wMdllayrgWjgRFlhfTTjzdbs92RsVRbDkScRFWMP.KI2wfXYAVJKEOZlN8onON8Mo8QHWz6aOmE+sfDTUVSCsrD2ye624rmc2yY6Evcngg7.M8xmc8Dpl9CM5esuXzNirY9ZGtqldIiW8lCI65OVa6qmXGFRc0z0evqP15kVVS94Wd411d19NzLRZZeOm4PeMaLSjQs2l+Qlm291tzyXiUjd8MOzg6uC2iOEfxCLpqMw1481CoGaihsjg1A1gizzW0n95VCFzsscaGZi0cauQi1T2KnMFzbfSm1ttMGXMvsQ2Nszz+r8bYBdPegsfFpou71b2q6Oh+A+nI36YgrK7n3.Ks9vLGQdetmK5hHUscFw7b6kDiB0.qzKKh8fnH1uy3HlKKkdVj6qjLHYZnF.0WJO7dPN3YoBu5Jvq.Hoq.okifziM56DvlHx3f342XbnufFLvFVmTgRjrZKU9QFkgUgPA4R6.Brpe9e5vcO6.xKHspW+4kmg2A6c3qN3Lf4FMZ8bxZqQ.G2eHyeHQLhEBh4MkRDbRqFsHgbuKog.CJwI.VHISB3fyMt7rFcu2d1oakY5Fsv4cGN.aeQsw1umte.LH0MplBRSELsBniLItlKc.MXGaOuKfrovphfoTjI.1y3SH8r8odJ..ncdOeOXdSlQaWWoPUqDyqhIoN7CXjDQBoXTdBMPvng.5F+G5exwpx+wJef4JFU4YJXsxHJa3HQkm0r9MHfPDsMWH3imCTQjWHtxXGAMkUlmRZdG.ZNCbWw5oHkDD+i7EBajkjysf8TYpXpjy8TRCKSR66J9UMxGq.K37OjtrW4YjJa44QxH.N0D6.vn6vGOg6CeAkIWjHIPHgQZHHZjfy8DrInN3QiAzP1Oi487IBF2Gy4ArJS1YIIpDPDZkn3mObjV3DjHh5Cr8c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9FkVOFRypUrZEU3WYknarjNQ5gjE5hxp+x8QIjbLWPOwupzqgXIYVVCFTHuXSCUPVHarK6faSwp9SGeAMPMliBBcRlu8TiE2dpZ2yNQwKEA49G5yDmLg5undp0hCxXqrwnBDUHaj8QwMxFEG0XtHI0PqlD2pO6f1aNDq+HwZfgyZa.nsK8RlCMpM4RF6RCeufOAluzkWM8xQy8WlzDMdOnbpKYD2Vm1UPDQGmrqS9hreAPjO6eqGAindFPJeSLvfqoGm7DGOzX8FcZ2o65azpiBiFyv4BdfKMnO3tptXD0SscYSCUoidbpW7448hWaeQrW7EFxu2.chXc+qC17ZUCMS2Qpdtfdk.eJgzFn0nPhhc5SUncWBjOzHa2YtXYLD96+sMuCwyOsfy7Q+tVca1odQQ+XN5K8IDOsThm+qbwye4kyEOyE.hBoOxP8E.tknZoEEUerwLEuEEZ+m5wooetZZ5WqMaXMgRb6sZ5qY7I0dq1s6k4aJWS+2Zjqo7bt3x20c+Yg7+wP0P9edSs4eUrux3Ht6TOaQ9GoCeJyXFf+k6kwvGZxOjIxsX9+sWt6tBwGaziIbFULFWp.LBmD7qAFieuyuzXuACnNhL.trw9u8WmG2TKpQwgP8QALLa93oi6C6Tcn3qMBo33US5KgWhDMtdxgI8o9txA+G3SLSKbrdLSqDlZiscB3m6Dc0C9hpegjBfIe4qOWx3HbLwZ9KaFybYm63j2TyoXi6qhMuuJt98UwV2WE239pX66qhc9eqH996aMENAJZail1Q81SVbft9d93oqxrUs+KDjbA+B
While debugging in Xcode, I am seeing this.
void ScriptingApi::Content::setHeight(int newHeight) noexcept { if (newHeight > 800) { reportScriptError("Go easy on the height! (" + String(800) + "px is enough)"); return; } }; void ScriptingApi::Content::setWidth(int newWidth) noexcept { if (newWidth > 1280) { reportScriptError("Go easy on the width! (1280px is enough)"); return; } };
-
@orange Crash here as well
-
Possibly related
-
@orange No crash below 800 pixels. If the total height exceeds 800 pixels, it crashes.
-
@Christoph-Hart I think it should be fixed now, Thanks!
https://github.com/christophhart/HISE/commit/fbc02d78d4d33b809ce4b2c07e4b29a52e036480
-
-