jQWidgets Forums

jQuery UI Widgets Forums Layouts Splitter Controlling where the splitter "uncollapses" to

This topic contains 1 reply, has 1 voice, and was last updated by  BrentH 10 years, 7 months ago.

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

  • BrentH
    Participant

    My splitter is set up as:

    $("#splitter").jqxSplitter({
            width: '100%', height: '100%', orientation: 'horizontal', theme: 'ui-smoothness', showSplitBar: false,
            panels: [{ min: '50%', collapsible: false }, { size: 200,  collapsed: true }]
        });

    When I run the expand method, the bottom panel doesn’t go to 200 px. It goes to 50%. Is there a way to control how much the bottom panel expands to? Or do I have to calculate the screen size and set the panel sizes each time I expand? Also: Why is there not a Max property?

    Thanks
    Brent


    BrentH
    Participant

    I think I have it working now. I just added a percent size to the 1st panel and removed the size from the 2nd.

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

You must be logged in to reply to this topic.