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 (439 views, 26.00 KB)
2.png (386 views, 16.00 KB)
3.png (370 views, 25.00 KB)
Nevron Support
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
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