bright-gpu-74537
10/03/2021, 6:28 AMfierce-soccer-8550
10/03/2021, 6:28 AMbright-gpu-74537
10/03/2021, 6:41 AMxml
<vbox style="padding: 15px;">
<hbox>
<label text="Frame Size:" />
<slider min="200" max="500" pos="300" onchange="theFrame.width = this.pos" />
<slider min="200" max="500" pos="200" onchange="theFrame.height = this.pos" />
</hbox>
<grid columns="3">
<button text="Button" />
<button text="Button" width="100%" />
<button text="Button" />
<button text="Button" height="100%" />
<frame id="theFrame" text="Test Video" width="300" height="200">
<vbox width="100%" height="100%">
<video id="theVideo" width="100%" height="100%" file="https://www.w3schools.com/html/mov_bbb.mp4" />
<hbox width="100%">
<button width="100%" text="Play" onclick="theVideo.play();" />
<button width="100%" text="Pause" onclick="theVideo.pause();" />
</hbox>
</vbox>
</frame>
<button text="Button" height="100%" />
<button text="Button" />
<button text="Button" width="100%" />
<button text="Button" />
</grid>
</vbox>bright-gpu-74537
10/03/2021, 6:41 AMbright-gpu-74537
10/03/2021, 6:43 AM.element property to mount the video tagfierce-soccer-8550
10/03/2021, 6:47 AMbright-gpu-74537
10/03/2021, 6:47 AMenough-lawyer-1858
10/03/2021, 8:28 AMsticky-artist-23944
10/03/2021, 10:46 PMfierce-soccer-8550
10/03/2021, 11:39 PMsticky-artist-23944
10/04/2021, 12:07 AMfierce-soccer-8550
10/04/2021, 12:08 AMfierce-soccer-8550
10/04/2021, 12:09 AMsilly-pizza-19516
10/04/2021, 4:48 AMxml
<vbox>
<scrollview id="entrycontainer" width="300" height="300" style="padding: 5px;" contentWidth="100%" contentHeight="100%" contentLayout="vertical" >
</scrollview>
</vbox>
This is the result, with the openfl backend (Linux target) and a bunch of duplicate buttons for testing. Versions for both haxeui-core and the openfl backend are git.silly-pizza-19516
10/04/2021, 4:54 AMbright-gpu-74537
10/04/2021, 8:07 AMxml
<!-- contents of the scrollview will always be 1000x1000 -->
<scrollview width="100" height="100" contentWidth="1000" contentHeight="1000" />
<!-- width of the content container will always match the width of the scrollview -->
<scrollview width="100" height="100" contentWidth="100%">
<button width="100%" text="Button" /> <!-- without contentWidth="100%" 100% on the button could have strange effects, now it will match the width of the scrollview, if the scrollview resizes, the contents will, and soo will the button -->
</scrollview>bright-gpu-74537
10/04/2021, 8:08 AMbright-gpu-74537
10/04/2021, 8:09 AMbrave-kangaroo-30399
10/08/2021, 3:32 AMbrave-kangaroo-30399
10/08/2021, 3:32 AMbrave-kangaroo-30399
10/08/2021, 3:33 AM"haxe.enableCompilationServer": false and that's it. Hope that helps someone elsebrave-kangaroo-30399
10/08/2021, 3:34 AMbrave-kangaroo-30399
10/08/2021, 3:35 AMbright-gpu-74537
10/08/2021, 6:28 AMbright-gpu-74537
10/08/2021, 6:29 AMbright-gpu-74537
10/08/2021, 6:29 AMthousands-house-41767
10/08/2021, 9:13 AMbright-gpu-74537
10/08/2021, 9:18 AMbright-gpu-74537
10/08/2021, 9:19 AMpurple-businessperson-14467
10/08/2021, 9:31 PM