From 6fe0cf09b4567fc532a3d619b1b573ba4e95a1a3 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 15 Apr 2025 00:15:46 +0200 Subject: Clearer delete, update mglpp --- src/gui/ComboBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/ComboBox.cpp') 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; } -- cgit v1.2.3-70-g09d2