<ext:ComboBox ... MatchFieldWidth="false"> <Listeners> <Expand Handler="var picker = this.getPicker(), width = this.getWidth(), pickerWidth = picker.getWidth(); if (pickerWidth > width) { picker.setWidth(width); }" /> </Listeners> </ext:ComboBox>
Powered by: 博客园 Copyright © 2024 yiyishuitian Powered by .NET 8.0 on Kubernetes