Skip to content

LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust

Docking: the Info fields test window is tall enough for the place fields in the dock column

aionggdf05e59474d9
diff --git a/crates/ui-egui/src/headless.rs b/crates/ui-egui/src/headless.rs
index 8686dbdf5..1d71e0b88 100644
--- a/crates/ui-egui/src/headless.rs
+++ b/crates/ui-egui/src/headless.rs
@@ -2860,7 +2860,8 @@ mod tests {
/// accessibility and place fields reach the photo.
#[test]
fn info_fields_keep_typing_and_save() {
- let mut h = demo([1300.0, 1000.0]);
+ // (tall enough for the place fields to show without scrolling)
+ let mut h = demo([1300.0, 1200.0]);
let t = Duration::from_secs(10);
h.request("ui.set", json!({"view": "detail", "right": "info"}), t);
h.settle(SETTLE);