Code snippet:

import com.gwtext.client.widgets.Panel;
        ...

public void initComponents() {
        ...
        Panel mainPanel = new Panel();
        mainPanel.setLayout(new RowLayout());

        Panel A = new Panel();
        Panel B = new Panel();
        ...
        mainPanel.add(A, new RowLayoutData("70%"));
        mainPanel.add(B, new RowLayoutData("30%"));
        ...
}

Is there any way, or other type of panel, to dynamically (onClick..)
switch (change/revert) height of the panel A to 30% and B to 70% ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to