jQWidgets Forums

jQuery UI Widgets Forums Editors Editor Multi Editor Height Problem

This topic contains 3 replies, has 3 voices, and was last updated by  Mehdi 7 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Multi Editor Height Problem #93983

    samurat2000
    Participant

    I use in tab, editor component but secound editor height problem. This pictures.

    tab1
    tab2

    Multi Editor Height Problem #94021

    Hristo
    Participant

    Hello samurat2000,

    I would like to ask you did you set the jqxEditor in the initTabContent callback function of the jqxTabs?
    This often happens. Also, you could check for some styles that are set.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    Multi Editor Height Problem #94645

    Mehdi
    Participant

    Hi Hristo,

    jqWidgets version: v4.1.2 (2016-Apr)

    i have same problem: i have a jqxtab whith two tabs, in first one i have jqxgrid and the second one is jqxeditor.
    the first tab is selected by default.
    when i resize window (whitout selecting second tab) first tab is resized and grid too, but when i select second tab the editor isn’t resized.

    i have resize method and it’s calling on every resize and size’s are ok.

    function ReSizePage(pwWidth, pwHeight) {
    $(‘#jqxTab’).jqxTabs({ height: pwHeight – 155, width: pwWidth – 4 });

    jqxGrid.jqxGrid({ height: pwHeight – 190, width: pwWidth – 6 });
    $(‘#editorComment’).jqxEditor({ height: pwHeight – 190, width: pwWidth – 10 });
    }

    please take o look at this sample too : sample

    Thanks a lot

    Multi Editor Height Problem #94650

    Mehdi
    Participant

    Hi there
    i think i fixed this error temporary.
    by setting width to 100% and setting height by pixel.

    like this :
    $(‘#editorComment’).jqxEditor({ height: pwHeight – 190, width: ‘100%’ });

    and this works fine for me in IE and Chrome

    Good luck

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

You must be logged in to reply to this topic.