Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2765
UltraComboEditor - Dropdown Button width
posted

Hi,

I have changed the autosize property of an UltraComboEditor to expand the size but when i do that the dropdown button is right aligned. I know i can change the alignment of a button but is there any way so i can expand the width of this dropdown button while keeping right aligned.

I have same question for spin button in ultra numeric editor.

Thanks,

Parents
No Data
Reply
  • 69832
    Suggested Answer
    Offline posted

    No, there is no way to change that through the object model; if I remember correctly we get that width from the SystemInformation.VerticalScrollBarWidth property. You could probably do this using the IUIElementCreationFilter interface however; you would do something like increase the width of the EditorWithComboDropDownButtonUIElement and reduce the width of the EditorWithTextUIElement (which represents the edit portion) accordingly.

Children