Profile Picture

NUIDocument fixed size

Posted By Andrew Ad 11 Years Ago
Author
Message
Andrew Ad
Posted 11 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 8, Visits: 1
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

Attachments
1.png (477 views, 26.00 KB)
2.png (418 views, 16.00 KB)
3.png (404 views, 25.00 KB)
Nevron Support
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: 1 days ago @ 1:54 AM
Posts: 3,054, Visits: 4,009
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.

Best Regards,
Nevron Support Team



Andrew Ad
Posted 11 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 8, Visits: 1
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.



Similar Topics


Reading This Topic