Hello,
I am doing an application where I desire to have an UltraComboEditor within a ToolStrip in a thin bar in my view. The bar is desired to be 22 pixels high. My problem is that UltraComboEditor refuses to resize itself to this size even though there is a lot of padding between the combo's borders and the text within the editor.
I am using version 8.2 of infragistics winform controls, so it is possible that it has been edited so that the ultra combo editor is resizable since then (has it?). If not, is there any workaround to make the control smaller, or is there any plans to make it possible to make the control smaller?
I'm not sure what you mean. If you set AutoSize to false, then the combo will stay at whatever size you assign it. If it's changing size, then something else must be changing it. Perhaps it's something in the code, or maybe you have the control Docked or Anchored or inside a container that sizes it's child controls.
Thank you Mike, the answer in my case was really that simple.
I did notice though that if I shrink my bar with one more pixel (to 21 pixels in height) it is no longer possible to make the combo fit, even with autosize = false. Even though my combo is set to 12 pixels in height in my designer it seems to adjust itself to it's content to some extent.
Set AutoSize to false.