[verified] Match Rust Details controls to the tallest label #28
Loading…
Reference in a new issue
No description provided.
Delete branch "astaranix/details-header-intrinsic-size"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Regression
The new header geometry test from #27 passed with desktop fonts but failed in the Nix sandbox: at width 328 the Update available button measured 69.2 high and Check measured 40.6. Disabling font discovery reproduced the exact mismatch with the same test binary. The fix transfers the required height instead of hardcoding a size or suppressing wrapping.
Verification
cargo test --locked --offline --all-targets --quiet: 167 passed with desktop fonts and 167 passed with font discovery disabled.cargo test --locked --offline --no-default-features --all-targets --quiet: 80 passed.cargo fmt --all -- --checkandgit diff --check: passed.cargo clippy --locked --offline --all-targets -- -D warnings -A clippy::manual_clamp -A clippy::question_mark: passed. Both exemptions were reconfirmed on the unchanged base.Nix build:
nix build --no-link --no-write-lock-file --override-input nixpkgs github:NixOS/nixpkgs/dc5d91f840324650bac8c379428c7037a416959a .#checks.aarch64-linux.tray-rust-packageVerified derivation:
/nix/store/f9nvi28415lv05hxghck867cpl0x97gr-nixos-updater-tray-rust-0.1.0.drv.Scope
Rust-only; legacy C++ untouched. No dependency, privileged updater, or system configuration changes. No system update was restarted or activated during this work.