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