diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-05-04 23:23:36 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-05-04 23:23:36 +0200 |
commit | 61f8c666fea0ccd6c2637be4d1bd6aa875b65926 (patch) | |
tree | 362405a8f64164ebaa9291c807a4f41799411c7c /src/gui/ComboBox.cpp | |
parent | 28be9d1c6fde9983c61ab76409c485d2dc14c823 (diff) |
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 dbe9aa0..4287a53 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() * 22); // TODO: Make a proper solution + items.back().text.set_max_width(font->get_character_size() * 20); // TODO: Make a proper solution //items.back().text.set_max_rows(1); dirty = true; } |