commands vertical resize
This commit is contained in:
parent
4545656c31
commit
5184eae4f6
|
@ -220,8 +220,12 @@ impl HeaderPanel {
|
||||||
.inner()
|
.inner()
|
||||||
.color(color!("DarkSlateBlue"))
|
.color(color!("DarkSlateBlue"))
|
||||||
.blur(4)]))
|
.blur(4)]))
|
||||||
// @TODO to MZ API? (together with autocomplete and others?)
|
// @TODO `spellcheck` and `resize` to MZ API? (together with autocomplete and others?)
|
||||||
.update_raw_el(|raw_el| raw_el.attr("spellcheck", "false"))
|
.update_raw_el(|raw_el| {
|
||||||
|
raw_el
|
||||||
|
.attr("spellcheck", "false")
|
||||||
|
.style("resize", "vertical")
|
||||||
|
})
|
||||||
.placeholder(
|
.placeholder(
|
||||||
Placeholder::new("FW.say_hello()").s(Font::new().color(color!("LightBlue"))),
|
Placeholder::new("FW.say_hello()").s(Font::new().color(color!("LightBlue"))),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue