Ajout de 200px à la largeur initiale de la fenêtre (600x300)
729a490 parent: a0ba2e9 modified
src/app.rs +2 -1 | @@ -182,7 +182,8 @@ impl RssPodcastApp { | ||
| 182 | 182 | pub fn run() -> Result<(), Box<dyn std::error::Error>> { |
| 183 | 183 | info!("Initializing egui application"); |
| 184 | 184 | |
| 185 | - let options = eframe::NativeOptions::default(); | |
| 185 | + let mut options = eframe::NativeOptions::default(); | |
| 186 | + options.viewport.inner_size = Some(egui::Vec2::new(600.0, 300.0)); | |
| 186 | 187 | |
| 187 | 188 | let mut state = AppState::with_default_config(); |
| 188 | 189 | |
| @@ -182,7 +182,8 @@ impl RssPodcastApp { | |||
| 182 | pub fn run() -> Result<(), Box<dyn std::error::Error>> { | 182 | pub fn run() -> Result<(), Box<dyn std::error::Error>> { |
| 183 | info!("Initializing egui application"); | 183 | info!("Initializing egui application"); |
| 184 | 184 | ||
| 185 | - let options = eframe::NativeOptions::default(); | 185 | + let mut options = eframe::NativeOptions::default(); |
| 186 | + options.viewport.inner_size = Some(egui::Vec2::new(600.0, 300.0)); | ||
| 186 | 187 | ||
| 187 | let mut state = AppState::with_default_config(); | 188 | let mut state = AppState::with_default_config(); |
| 188 | 189 | ||