tauri icon indicating copy to clipboard operation
tauri copied to clipboard

[bug] Is it possible to change the titlebar style of the webviewWindow that has already been created?

Open gusxodnjs opened this issue 1 year ago • 0 comments

Describe the bug

I'm already changing the title bar style to overlay when creating webview window with title_bar_style. I would like to change the title bar style of webview Window under certain conditions. Is there a way to do this without creating a new webview?

Reproduction

No response

Expected behavior

No response

Full tauri info output

[✔] Environment
    - OS: Mac OS 13.5.2 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.75.0 (82e1608df 2023-12-21)
    ✔ cargo: 1.75.0 (1d8b05cdd 2023-11-20)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 18.16.0
    - pnpm: 8.6.10
    - yarn: 1.22.21
    - npm: 9.5.1

[-] Packages
    - tauri [RUST]: 2.0.0-beta.18
    - tauri-build [RUST]: 2.0.0-beta.14
    - wry [RUST]: 0.39.4
    - tao [RUST]: 0.27.1
    - tauri-cli [RUST]: 2.0.0-alpha.18
    - @tauri-apps/api [NPM]: 2.0.0-beta.6
    - @tauri-apps/cli [NPM]: 2.0.0-beta.10

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite

Stack trace

No response

Additional context

No response

gusxodnjs avatar May 13 '24 04:05 gusxodnjs