aboutsummaryrefslogtreecommitdiff
path: root/src/gui/ComboBox.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-04-14 11:38:52 +0200
committerdec05eba <dec05eba@protonmail.com>2025-04-14 11:38:52 +0200
commit0018788780d756dbf0d3a77f6b40b384183348f7 (patch)
tree63c8e5f5f0ffb60f85d500c35d4aa2d1d5c73e56 /src/gui/ComboBox.cpp
parente3e6c3c3b9485f5cdb375eec77b3ae0f1f8a4135 (diff)
Redesign audio to support multiple audio tracks explicitly
Diffstat (limited to 'src/gui/ComboBox.cpp')
-rw-r--r--src/gui/ComboBox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/ComboBox.cpp b/src/gui/ComboBox.cpp
index dbe9aa0..08c4ec2 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() * 25); // TODO: Make a proper solution
//items.back().text.set_max_rows(1);
dirty = true;
}