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
40
Ignite Controls auto width
posted

Hi, we're having an issue resizing input fields.


We want inputs to have auto width based on the content - There's no need for the input below to have that much room for example.

We've got too many editors and don't want to affect them all by making changes to the helpers so we need another solution.

Issue

How can we achieve this without using .Width(x)

Thanks,

Sean

Parents
No Data
Reply
  • 7595
    Offline posted

    Hello Sean,

    Thank you for posting in our community.

    After investigating auto width of the controls and doing some research auto width  has been determined to be a new product idea. You can suggest new product ideas for future versions (or vote for existing ones) at <http://ideas.infragistics.com>.

    Please note if you are using igCombo then with the width of the control . "width" option sets the width of input field + dropdown container. However there is an option called "dropDownWIdth", which sets only the width of dropdown list. And in case that you're using dropDownWidth for the dropdown container, then the width will be applied only on the input field. Here is a link to JsFiddle sample that demonstrates similar scenario:

     http://jsfiddle.net/cannabelcheva/7rtf2rmt/

    If you have any further questions, please let me know.

Children
No Data