Would anyone know how to decrease the popup, presented by the GridLookUpEdit
control of DevExpress?
You should treat the QueryPopup
event and modify the popup size by assigning a Size
to the values you want:
private void gridLookUpEdit1_QueryPopUp(object sender, CancelEventArgs e) {
GridLookUpEdit editor = (GridLookUpEdit)sender;
RepositoryItemGridLookUpEdit properties = editor.Properties;
// mudando apenas a largura, mas não a altura, por exemplo:
properties.PopupFormSize = new Size(500, properties.PopupFormSize.Height);
}