From 5184eae4f6afcbc11405f211b8ef9df5bff9de17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kav=C3=ADk?= Date: Mon, 17 Jun 2024 19:53:56 +0200 Subject: [PATCH] commands vertical resize --- frontend/src/header_panel.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/src/header_panel.rs b/frontend/src/header_panel.rs index 9777a0e..52b2900 100644 --- a/frontend/src/header_panel.rs +++ b/frontend/src/header_panel.rs @@ -220,8 +220,12 @@ impl HeaderPanel { .inner() .color(color!("DarkSlateBlue")) .blur(4)])) - // @TODO to MZ API? (together with autocomplete and others?) - .update_raw_el(|raw_el| raw_el.attr("spellcheck", "false")) + // @TODO `spellcheck` and `resize` to MZ API? (together with autocomplete and others?) + .update_raw_el(|raw_el| { + raw_el + .attr("spellcheck", "false") + .style("resize", "vertical") + }) .placeholder( Placeholder::new("FW.say_hello()").s(Font::new().color(color!("LightBlue"))), )