Explorar el Código

feat: commit code

mrxiaozhuox hace 3 años
padre
commit
69abb89823
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      examples/borderless.rs

+ 2 - 0
examples/borderless.rs

@@ -9,7 +9,9 @@ fn main() {
 fn app(cx: Scope) -> Element {
 fn app(cx: Scope) -> Element {
     let window = dioxus::desktop::use_window(&cx);
     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_fullscreen(true);
+    // window.set_resizable(false);
 
 
     cx.render(rsx!(
     cx.render(rsx!(
         link { href:"https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css", rel:"stylesheet" }
         link { href:"https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css", rel:"stylesheet" }