We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent add2f03 commit 7b5ab48Copy full SHA for 7b5ab48
src/main.rs
@@ -94,6 +94,7 @@ fn main() -> ! {
94
95
// -------- Setup the Slint backend --------
96
let window = slint::platform::software_renderer::MinimalSoftwareWindow::new(Default::default());
97
+ window.set_size(slint::PhysicalSize::new(320, 240));
98
slint::platform::set_platform(alloc::boxed::Box::new(MyPlatform {
99
window: window.clone(),
100
timer,
0 commit comments