-
Notifications
You must be signed in to change notification settings - Fork 567
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
Question: centering window and light theme #1800
Comments
I could not think of a better one right now.
Not at the moment, but theming is being worked on. |
It's worth noting that Wayland doesn't allow top-level windows to be positioned. You can still position subwindows relative to their parent windows in Wayland. See here for more info: https://gitlab.freedesktop.org/wayland/wayland/-/issues/183 |
For positioning window to the center of screen I have used this code. Here I kept the window size to half of the screen size and placed in the 1/4 position of the screen
|
Hello,
Thank you for
druid
.Is this a proper way to center a window?
And is there any way to set a light theme without setting each color?
By default it is a dark theme:
druid/druid/src/theme.rs
Lines 120 to 185 in 99a8d66
The text was updated successfully, but these errors were encountered: