Bind breadpad/breadman windows to the current monitor palette
All checks were successful
dev release / build (push) Successful in 9m28s

Pin bread-theme to v0.7.4.
This commit is contained in:
Breadway 2026-08-16 13:23:18 +08:00
parent 852a771651
commit 37713eee9e
6 changed files with 434 additions and 521 deletions

View file

@ -374,6 +374,7 @@ fn build_app_window(
.default_width(960)
.default_height(640)
.build();
bread_theme::gtk::bind_window_auto(&window);
let hbox = gtk4::Box::builder()
.orientation(gtk4::Orientation::Horizontal)
@ -616,6 +617,7 @@ fn show_add_note_window(parent: &gtk4::ApplicationWindow, state: AppState, prese
.modal(true)
.default_width(500)
.build();
bread_theme::gtk::bind_window_auto(&win);
let vbox = gtk4::Box::builder()
.orientation(gtk4::Orientation::Vertical)