-
contentpanel with rowlayout
contentpanel with rowlayout
Hi,
Scenario is given below.
**************************************
ContentPanel parent1 = new CotentPanel();
parent1.setLayout(new RowLayout(Orientation.VERTICAL));
ContentPanel child1 = new ContentPanel();
child1.setLayout(new FitLayout());
child1.add("some widget");
ContentPanel child2 = new ContentPanel();
child2.setLayout(new FitLayout());
child2.add("some widget");
parent1.add(child1);
parent1.add(child2);
ContentPanel parent2 = new CotentPanel();
parent2.setLayout(new FitLayout());
parent2.add("some widget");
ContentPanel grand_parent = new CotentPanel();
grand_parent.setLayout(new RowLayout(Orientation.VERTICAL));
grand_parent.add(parent1);
grand_parent.add(parent2);
*******************************************************
can this work ?????
Thanks
-
Ext GWT Premium Member
yes, but obviously depends on what you expected it to do... but otherwise the logic seems ok
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us