From 827116f409c591afcea5644df92ca6a7c684954d Mon Sep 17 00:00:00 2001 From: GriffinR Date: Thu, 5 Mar 2026 18:46:25 -0500 Subject: [PATCH] Allow event panel to be shrunk to a smaller width before collapsing --- CHANGELOG.md | 2 +- include/ui/eventcombobox.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e176ef42..007e60b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ and this project somewhat adheres to [Semantic Versioning](https://semver.org/sp ### Changed - Porymap's .cfg files were replaced with .json. Any fields not listed in a config file are assumed to be the default value. -- Move the tileset/layout labels to prioritize horizontal space for the map. +- Some UI changes to prioritize horizontal space for the map. ### Fixed - Fix degraded image quality in exported timelapse gifs. diff --git a/include/ui/eventcombobox.h b/include/ui/eventcombobox.h index 12eba05a..64d00f0e 100644 --- a/include/ui/eventcombobox.h +++ b/include/ui/eventcombobox.h @@ -11,7 +11,7 @@ class EventComboBox : public NoScrollComboBox public: explicit EventComboBox(QWidget *parent = nullptr) : NoScrollComboBox(parent) { // Make speed a priority when loading comboboxes. - setMinimumContentsLength(24);// an arbitrary limit + // Set combo boxes to smallest reasonable size. setSizeAdjustPolicy(QComboBox::AdjustToMinimumContentsLengthWithIcon); // In general, event combo boxes are always editable.