commands vertical resize

This commit is contained in:
Martin Kavík 2024-06-17 19:53:56 +02:00
parent 4545656c31
commit 5184eae4f6

View file

@ -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"))),
)