Try to play with _computePreferredBoxHeight()/Width() or _computePreferredInnerHeight()/Width(). You will probably have to calculate the preferred box width and height and set the pane accordingly(normally it has auto dimensions). Better is to put all the widgets in the TabPane into one more container box with auto dimensions(so this box will not resize itself even if tabpane will) and then(on tab-button-click) set the size of the tabpane to the size of this box. You'll get the size of the container(even with auto dimensions) with the help of _computeInnerHeight/Width() functions.
Hope that helps alex.d > Hi, > > Suppose I have a TabView (or a ButtonView) that has several child panes > inside. > Suppose the initial pane is A and has a small size. > Then I change to panel B which is bigger, and consequently the TabView > grows. > When I switch back to A, I would like the TabView to shrink to its previous > size. > > Is this possible? > Thanks in advance for any help. > > Regards > David > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
