What's the difference between TabPanel and TabLayoutPanel in GWT? I can't find the answer in Google and it is difficult to understand reading docs
TabLayoutPanel
is a layout panel: it's sized from the outside-in, it has to be given explicit dimensions and be notified when they changed (RequiresResize
), and similarly will resize its children and notify them when it does so (ProvidesResize
).
TabPanel
is not; it's sized from the inside-out: it'll resize itself depending on the size of the widget in the selected tab.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With