jQWidgets Forums

jQuery UI Widgets Forums Dialogs and Notifications Window How to set Window Header Height

This topic contains 2 replies, has 2 voices, and was last updated by  ivailo 10 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • How to set Window Header Height #71499

    pedro_prt
    Participant

    Hi,

    Is there any property in Window Widget that lets me set the height of the window ?
    I saw on jqx-window-header class the header height is set to ‘auto’.
    Is it safe to override that class ? or there is another way of setting the header height ?
    I want to set it to 15/16px.
    I want to do it for all jqwidget widgets (tabs, windows, grid, etc)

    How to set Window Header Height #71500

    pedro_prt
    Participant

    I tried to override the .jqx-window-header class but has no effect

    $(‘.jqx-window-header’).css(“height”, “30px”);

    How to set Window Header Height #71527

    ivailo
    Participant

    Hi pedro_prt,

    You can set the jqxWindow’s height with $('#jqxWindow').jqxWindow({height:"400px"});.
    To the header you can apply whatever CSS styles you want (including height). Just attach all needed classes to the header’s div.

    Here is an example.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.