mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 04:18:14 +00:00
Wasm Demos: fix size of the canvas
Harmonize demos to use `data-slint-auto-resize-to-preferred="true"`. Otherwise it seems like they are using the minimum size now which is way too small for these demos
This commit is contained in:
parent
1d41f0b402
commit
b90bb7bd49
2 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@
|
|||
<div id="spinner" style="position: relative;">
|
||||
<div class="spinner">Loading...</div>
|
||||
</div>
|
||||
<canvas id="canvas" width="640" height="480"></canvas>
|
||||
<canvas id="canvas" data-slint-auto-resize-to-preferred="true"></canvas>
|
||||
<p class="links">
|
||||
<a href="https://github.com/slint-ui/slint/blob/master/examples/opengl_underlay/">
|
||||
View Source Code on GitHub</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue