jQuery UI Widgets Forums Layouts Layout and Docking Layout jqxDockingLayout maximized positioning of addFloatGroup

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 8 years, 6 months ago.

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

  • jqwidgetsdev
    Participant

    Hello.

    I was wondering what is the preferred way make the added float group appear as maximized within its container?

    $('#jqxDockingLayout').jqxDockingLayout('addFloatGroup', '100%', '100%', { x: 500, y: 200 }, 'layoutPanel', 'Title', '<button id="myButton">My button</button>', function () { $('#myButton').jqxButton(); });

    Is there a way to show & control minimize or maximize in the new float window?

    Thank you.


    Dimitar
    Participant

    Hello jqwidgetsdev,

    The container of newly added float groups is the body. If you wish, along with setting the width and height of the float group to ‘100%’, you can also set its initial offset to { x: 0, y: 0 } and it should appear maximized. You can then resize the float group (which is a jqxWindow widget) with the mouse.

    Best Regards,
    Dimitar

    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.