mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
egui_web: document how to fill the full width of the browser
This commit is contained in:
@@ -304,6 +304,9 @@ The _frame_ in `eframe` stands both for the frame in which your egui app resides
|
||||
### Why is `egui_web` using so much CPU in Firefox?
|
||||
On Linux and Mac, Firefox will copy the WebGL render target from GPU, to CPU and then back again: https://bugzilla.mozilla.org/show_bug.cgi?id=1010527#c0
|
||||
|
||||
### Why does my web app not fill the full width of the screen?
|
||||
To alleviate the above mentioned performance issues the default max-width of an egui web app is 1024 points. You can change this by ovveriding the `fn max_size_points` of `epi::App`.
|
||||
|
||||
|
||||
## Other
|
||||
|
||||
|
||||
Reference in New Issue
Block a user