cpopp
19 Aug 2009, 5:10 AM
Just getting started with GXT. I'm laying out the various components within a TabItem. I want to use a couple of radio buttons to control some behavior.
I found I can create a LayoutContainer and add the buttons directly into the LayoutContainer. However, I can also create a small FormPanel, add the buttons to the Panel and then add the Panel to the LayoutContainer.
What are the advantages/disadvantages of each approach? I don't want to go down the wrong path and have to fix a bunch of bad decisions later.
I guess I'm really trying to figure out when to use a Container object vs a Panel object as they appear to do very similar things to me.
Thanks
I found I can create a LayoutContainer and add the buttons directly into the LayoutContainer. However, I can also create a small FormPanel, add the buttons to the Panel and then add the Panel to the LayoutContainer.
What are the advantages/disadvantages of each approach? I don't want to go down the wrong path and have to fix a bunch of bad decisions later.
I guess I'm really trying to figure out when to use a Container object vs a Panel object as they appear to do very similar things to me.
Thanks