jQWidgets Forums

jQuery UI Widgets Forums Editors DateTimeInput Problem with borders more than 1px wide

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 11 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Problem with borders more than 1px wide #29630

    p370
    Member

    Hello,

    We are evaluating your widgets for use in our project, they are great (we were looking for something that works well with Knockout), except we can’t get the DateTimeInput to look like we want. The main problem is the border-width. When it it’s width is 1 px, everything is OK. We tried to set it to 3 px but that breaks the look of the control (tried it your demo with same result). I checked out the source and it looks like you assume that the border is 1px. I changed the values to fit my needs, buts that’s a partial solution. Or am I missing something? Also the inline styles you assign in the widgets are sometimes pain in the ass 🙁

    Problem with borders more than 1px wide #29635

    Peter Stoev
    Keymaster

    Hi p370,

    You can change only the border-color, background-color, color and fonts. Layout settings like width, height, border-width, padding, margin, etc. defined in jqx.base.css could break the widget’s layout. The inline styles that we use, usually define the internal elements layout and we will continue to use these styles.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.