Unclamp combo box popups

This commit is contained in:
fanlusky committed 2026-06-19 13:03:32 +08:00
1 parent e210c8eb4c
commit ab5516da96
2 files changed
+2

No files matched your search

+1
View File
@@ -998,6 +998,7 @@ ComboBox::ComboBox(float height) : preferredHeight_(height)
popup_ = std::make_shared<Popup>(popupContent_);
popup_->SetPlacement(PopupPlacement::BelowLeading);
popup_->SetOffset(0.0f, 6.0f);
popup_->SetConstrainToViewport(false);
}
void ComboBox::AddItem(std::wstring item)