Replace custom widget macros with Relm4 view macro based ones

Also move margin styling to the CSS file.
This commit is contained in:
Reinout Meliesie 2026-01-02 13:41:27 +01:00
commit 6446d43d76
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6
9 changed files with 299 additions and 435 deletions

12
Cargo.lock generated
View file

@ -616,6 +616,17 @@ dependencies = [
"proc-macro2",
]
[[package]]
name = "relm4-macros"
version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25edbb5b2e8126975f1dd8e85c48cd310afc150beed0dc97df22247b3243971e"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "rusqlite"
version = "0.37.0"
@ -818,4 +829,5 @@ dependencies = [
"futures",
"gtk4",
"libadwaita",
"relm4-macros",
]