estrify Posted December 16, 2015 Share Posted December 16, 2015 Hi, For some combobox I am using, I need to make the picker wider than the combo itself (see image). If you need something similar, add the following code to your combo: Within "Combobox -> UniEvents -> Ext.form.field.Combobox -> afterCreate", add the following function afterCreate(sender) { Ext.apply(sender, { matchFieldWidth: false, pickerOffset: [0,-1] }); var picker; picker=sender.getPicker(); picker.maxWidth=sender.width*2; // Here, change the multiplier to adjust it to your needs, // or directly specify a width picker.border=1; } Best regards, 1 Quote Link to comment Share on other sites More sharing options...
epos4u Posted December 16, 2015 Share Posted December 16, 2015 Thank you Quote Link to comment Share on other sites More sharing options...
wildfoxwolf Posted September 12, 2017 Share Posted September 12, 2017 thank you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.