diff --git a/crates/midra-layout/src/gui.rs b/crates/midra-layout/src/gui.rs index ee2a43f..0335290 100644 --- a/crates/midra-layout/src/gui.rs +++ b/crates/midra-layout/src/gui.rs @@ -1458,20 +1458,20 @@ impl Editor { } self.shortcuts(ctx); egui::TopBottomPanel::top("header") - .exact_height(64.0) + .exact_height(44.0) .frame(egui::Frame::NONE.fill(PANEL)) .show(ctx, |ui| { let r = ui.max_rect(); let ink = Ink::new(ui, r); - ink.text(24.0, 21.0, "MIDRA / LAYOUT", 21.0, TEXT); - ink.line([218.0, 22.0], [218.0, 43.0], LINE); - ink.text(238.0, 26.0, "Offline position helper", 13.0, MUTED); - ink.text(r.width() - 347.0, 27.0, "EIKOS 4K", 12.0, CYAN); - ink.button(r.width() - 212.0, 15.0, 188.0, "Copy coordinates", false); + ink.text(24.0, 11.0, "MIDRA / LAYOUT", 18.0, TEXT); + ink.line([206.0, 13.0], [206.0, 31.0], LINE); + ink.text(222.0, 15.0, "Offline position helper", 13.0, MUTED); + ink.text(r.width() - 347.0, 15.0, "EIKOS 4K", 12.0, CYAN); + ink.button(r.width() - 212.0, 5.0, 188.0, "Copy coordinates", false); if click( ui, &ink, - [r.width() - 212.0, 15.0, 188.0, 34.0], + [r.width() - 212.0, 5.0, 188.0, 34.0], "header-copy", ) { self.copy(ctx); diff --git a/crates/midra-layout/src/main.rs b/crates/midra-layout/src/main.rs index e57ab0c..da99329 100644 --- a/crates/midra-layout/src/main.rs +++ b/crates/midra-layout/src/main.rs @@ -105,8 +105,8 @@ impl Ink { } fn screen_artwork(ink: &Ink) { - ink.text(0.0, -29.0, "SCREEN 1", 12.0, MUTED); - ink.text(790.0, -29.0, "1920 × 1080 px", 13.0, MUTED); + ink.text(0.0, -24.0, "SCREEN 1", 12.0, MUTED); + ink.text(790.0, -24.0, "1920 × 1080 px", 13.0, MUTED); ink.rect(0.0, 0.0, 960.0, 540.0, Color32::from_rgb(20, 45, 64)); ink.rect(0.0, 0.0, 960.0, 36.0, Color32::from_rgb(38, 69, 86)); ink.text(24.0, 10.0, "ANNUAL FORUM / MAIN STAGE", 13.0, MUTED);