Delete bookmark button works properly, and bookmark textbox doesnt change height

This commit is contained in:
Yousef Khadadeh 2025-10-04 20:25:11 +03:00
parent 3583550bb2
commit d52759f898
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ template <typename T> class TextBox : public Element {
CLAY({
.layout = {
.sizing = {.width = CLAY_SIZING_GROW(static_cast<float>(io.fontSize * 2)), .height = CLAY_SIZING_GROW(static_cast<float>(io.fontSize))}
.sizing = {.width = CLAY_SIZING_GROW(static_cast<float>(io.fontSize * 2)), .height = CLAY_SIZING_GROW(static_cast<float>(io.fontSize * 1.25f))}
},
.custom = { .customData = this }
}) {