Browse Source

feat: commit code

mrxiaozhuox 3 years ago
parent
commit
69abb89823
1 changed files with 2 additions and 0 deletions
  1. 2 0
      examples/borderless.rs

+ 2 - 0
examples/borderless.rs

@@ -9,7 +9,9 @@ fn main() {
 fn app(cx: Scope) -> Element {
     let window = dioxus::desktop::use_window(&cx);
 
+    // if you want to make window fullscreen, you need close the resizable.
     // window.set_fullscreen(true);
+    // window.set_resizable(false);
 
     cx.render(rsx!(
         link { href:"https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css", rel:"stylesheet" }