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
485
Center text in WebDropDown
posted

I'm testing WebDropDOwn. ¿How can i center the text?. I've tried adding a webtexteditor but when i press a key i get the error : 'keyCode' is null or not object

Parents
No Data
Reply
  • 49378
    posted

    Hi antfor,

    You can center the text in a WebDropDown using CSS. The file ig_dropDown located in the ig_res/Default directory of your project contains the styling settings for the WebDropDown. The classes which will most likely interest you are  .igdd_ValueDisplay for the input field and .igdd_DropDownList for the drop down list of items.

    I have created a sample for you which demonstrates a WebDropDown with centered text. The CSS styling in the sample is added through the markup.

    Please tell me if this helps.

    Best Regards,

    Petar Ivanov
    Developer Support Engineer
    Infragistics, Inc.
    http://ko.infragistics.com/support

    WebDropDownCenterText.zip
Children
No Data