Nevron Forum

NUIDocument fixed size

https://www.nevron.com/Forum/Topic7819.aspx

By Andrew Ad - Monday, June 3, 2013

Hi.
I`m trying to set fixed size for nevron document.
E.g. there are 3 documents: 'doc 1', 'doc 2' and 'doc 3'. I want 'doc 3' to have fixed width = 100px (screen1);
When main form is resized 'doc 3' width is stil = 100 px.(screen2)
When I moved splitter 1 'doc 3' - new fixed width is set to 150 px; (screen3)
Thanks in advance
By Nevron Support - Monday, June 3, 2013

Hello Andrew,

To prevent resizing document when you move the splitter you should call NDockManager.LockPanels() method.
Calling this method will lock all panels in the docking framework.
By Andrew Ad - Tuesday, June 4, 2013

Thanks for reply.
I want to lock width only for one document, not for all of them.
When user resizes form with documents (e.g. make it smaller) all documents except 'doc 3'(the one with fixed width) reduce their width. For 'doc 3' width is still fixed.