Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] set window background color #10519

Closed
kanatapple opened this issue Aug 7, 2024 · 2 comments · Fixed by #11486
Closed

[feat] set window background color #10519

kanatapple opened this issue Aug 7, 2024 · 2 comments · Fixed by #11486

Comments

@kanatapple
Copy link
Contributor

Describe the problem

In the multiwebview example, the areas that are not drawn are filled with white.

multiwebview

Describe the solution you'd like

Add Window::set_background_color(&self, color: Color) method

Alternatives considered

No response

Additional context

No response

@kanatapple kanatapple changed the title [feat] Setting window background color [feat] set window background color Aug 7, 2024
@FabianLars
Copy link
Member

Somewhat related to #1564 (will keep both open since we need to change the window color and the webview color.

@kanatapple
Copy link
Contributor Author

What is the status of this issue?

amrbashir added a commit to tauri-apps/tao that referenced this issue Oct 24, 2024
amrbashir added a commit that referenced this issue Oct 24, 2024
amrbashir added a commit to tauri-apps/tao that referenced this issue Oct 28, 2024
* feat: add background_color APIs

ref: tauri-apps/tauri#10519

* fix macOS

* fix macos

* unsafe

* Update .changes/background_color.md

Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com>

* actually use color

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants