diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-04-15 00:15:46 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-04-15 00:15:46 +0200 |
commit | 6fe0cf09b4567fc532a3d619b1b573ba4e95a1a3 (patch) | |
tree | e4bd4f34ccf755b4310b5496ce1e022ff3d2b45c /src/gui/ComboBox.cpp | |
parent | 0018788780d756dbf0d3a77f6b40b384183348f7 (diff) |
Clearer delete, update mglpp
Diffstat (limited to 'src/gui/ComboBox.cpp')
-rw-r--r-- | src/gui/ComboBox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/ComboBox.cpp b/src/gui/ComboBox.cpp index 08c4ec2..dbe9aa0 100644 --- a/src/gui/ComboBox.cpp +++ b/src/gui/ComboBox.cpp @@ -85,7 +85,7 @@ namespace gsr { void ComboBox::add_item(const std::string &text, const std::string &id) { items.push_back({mgl::Text(text, *font), id, {0.0f, 0.0f}}); - items.back().text.set_max_width(font->get_character_size() * 25); // TODO: Make a proper solution + items.back().text.set_max_width(font->get_character_size() * 22); // TODO: Make a proper solution //items.back().text.set_max_rows(1); dirty = true; } |