features
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use client_network::{start_p2p_executor, NetworkCommand, NetworkEvent};
|
||||
use crate::gui_app::P2PClientApp;
|
||||
use client_network::{NetworkCommand, NetworkEvent, start_p2p_executor};
|
||||
|
||||
mod gui_app;
|
||||
|
||||
@@ -16,8 +16,9 @@ async fn main() -> eframe::Result<()> {
|
||||
// 3. Configure and Run the Eframe/Egui GUI
|
||||
let options = eframe::NativeOptions {
|
||||
viewport: egui::ViewportBuilder::default()
|
||||
.with_inner_size([1000.0, 700.0])
|
||||
.with_inner_size([700.0, 500.0])
|
||||
.with_min_inner_size([700.0, 500.0])
|
||||
.with_resizable(false)
|
||||
.with_icon(
|
||||
eframe::icon_data::from_png_bytes(include_bytes!("../assets/icon.png"))
|
||||
.expect("Failed to load icon"),
|
||||
@@ -33,4 +34,4 @@ async fn main() -> eframe::Result<()> {
|
||||
Ok(Box::new(app))
|
||||
}),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user