Allow event panel to be shrunk to a smaller width before collapsing
Some checks are pending
Build Porymap / build-linux (, 5.14.2) (push) Waiting to run
Build Porymap / build-linux (, 6.8.*) (push) Waiting to run
Build Porymap / build-linux (minimal, 5.14.2) (push) Waiting to run
Build Porymap / build-macos (macos-15-intel) (push) Waiting to run
Build Porymap / build-macos (macos-latest) (push) Waiting to run
Build Porymap / build-static-windows (push) Waiting to run

This commit is contained in:
GriffinR 2026-03-05 18:46:25 -05:00
parent 6d52fda252
commit 827116f409
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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.