Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Adjust PtDivider from code?: Page 1 of 2 (2 Items)
   
Adjust PtDivider from code?  
Is it possible to set the widths of the regions controlled by a PtDivider from code? I see that the Pt_ARG_DIVIDER_SIZES
 resource is read-only. If I set the size of one (or all?) of the children, will the PtDivider get the message?

I'd like to start out with a saved configuration but allow the user to drag the divider to adjust. I would also like to 
override the PtDivider's response to a resize event from above. Rather than adjusting only the last element(s), I would 
like to keep the children in the same ratio of sizes (or perhaps a somewhat more subtle relationship, depending on the 
content)

Can anyone suggest the best strategies for achieving this functionality?