Maximising content on browser #7155
Unanswered
DanielVandH
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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