1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 13:20:05 -04:00

egui_web: document how to fill the full width of the browser

This commit is contained in:
Emil Ernerfeldt
2021-06-03 18:56:26 +02:00
parent 2932ff0e53
commit ec6268e4ac
3 changed files with 12 additions and 0 deletions

View File

@@ -3,6 +3,11 @@
//! This library is an [`epi`] backend.
//!
//! If you are writing an app, you may want to look at [`eframe`](https://docs.rs/eframe) instead.
//!
//! ## Specifying the size of the egui canvas
//! For performance reasons (on some browsers) the egui canvas does not, by default,
//! fill the whole width of the browser.
//! This can be changed by overriding [`epi::App::max_size_points`].
#![cfg_attr(not(debug_assertions), deny(warnings))] // Forbid warnings in release builds
#![deny(