Maximising content on browser #7155
Unanswered
DanielVandH
asked this question in
Q&A
Replies: 1 comment
-
It needs to be done in HTML. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to figure out how, for an app I've compiled with WASM, to make the content maximise to the size of the browser. Consider the following setup:
src/main.rs:
ui/app-window.slint:
index.html:
Cargo.toml:
When I compile this with
wasm-pack build --release --target web
and then launch the server locally withpython -m http.server
, the page I see atlocalhost:8000
looks likeIs there a setting I can change to make the content enlarge to the dimensions of the browser, i.e. make that entire white space red?
Beta Was this translation helpful? Give feedback.
All reactions