Skip navigation.
Home
The QNX Community Portal

View topic - divide a pane equally

divide a pane equally

Isn't the name clear?

divide a pane equally

Postby shyinghe » Wed Nov 04, 2009 3:17 am

How to divide a pane to 12 or more equally when the size of the pane is changed automatically? What widget can be used?
shyinghe
New Member
 
Posts: 1
Joined: Wed Nov 04, 2009 3:11 am

RE: divide a pane equally

Postby maschoen » Wed Nov 04, 2009 11:12 am

You could put 12 panes into your pane. You might be able to get the size change you want automatically using Anchors. Otherwise you need a callback on your pane in which you adjust everything. I think the Anchors will be useful if you just want everything to stretch in place. If you want to re-arrange things in a more complicated way, the way a browser does with HTML then you will need to do some work in a callback.
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm


Return to GUI Programming

Who is online

Users browsing this forum: No registered users and 2 guests