NUIDocument fixed size


https://www.nevron.com/Forum/Topic7819.aspx
Print Topic | Close Window

By Andrew Ad - 11 Years Ago
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 - 11 Years Ago
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 - 11 Years Ago
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.