OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – HTML, JavaScript, CSS, Design Questions WindowMassAction disable resize.

This topic contains 1 reply, has 1 voice, and was last updated by  InHeartBeat 8 years, 6 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #34647

    InHeartBeat
    Participant

    Hi, I’ve created window by using WindowMassAction.

    class MyAction extends WindowMassAction
    {
    /**
    * {@inheritDoc}
    */
    public function setOptions(ActionConfiguration $options)
    {
    if (empty($options['route'])) {
    $options['route'] = 'my_route';
    }
    return parent::setOptions($options);
    }
    }

    But created window is resizable. How can I make it not resizable?

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #34648

    InHeartBeat
    Participant

    $options['frontend_options'] = ['dialogOptions' => ['resizable' => false]];

    Did the trick.

Viewing 1 replies (of 1 total)

The forum ‘OroPlatform – HTML, JavaScript, CSS, Design Questions’ is closed to new topics and replies.

Back to top