Khubicek
(Jakub)
March 13, 2023, 2:12pm
#1
Hello, is it possible to set the automatic height of the HTML document according to the enlarging content?
thanks
jonathan
(Jonathan Deutsch)
March 13, 2023, 6:26pm
#2
Unfortunately not; Hype scenes required a fixed height parameter. The only way they can change height is based on the parent viewport/window size via Flexible Layout , and not by inner contents.
MaxZieb
(Loves Hype)
March 13, 2023, 8:59pm
#3
This extension resizes the stage based on a rectangle.
[HypeStageResizer_1]
This is just a little code dump of an older script I am using but never published and feedback is welcome. Might help somebody or if I get some feedback we can make it a 1.0 release and add some artwork and features. It basically sets the height on a 100% width and height file according to the ratio given by a dimensions’ element (or group). This way one can animate the height … and it fixes the height problem when embedding the file in WordPress (although then the code wo…
You could also use the more recent Hype Style Caster. Here is an example for that as well:
example_set_content_height_with_hype_style_caster.hype.zip (16,0 KB)
3 Likes