PDA

View Full Version : TabPanel labels and buttons on the same row



ddanny
20 Dec 2009, 10:46 AM
Hello,

I would like to ask if it is at all possible to have some layout that is similar to IE: a few tab panels and buttons (or other widgets) on the same row.
If possible, any code snippet is very helpful.

Thanks,

Dan

sven
20 Dec 2009, 10:48 AM
RowLayout and HBoxLayout can do that. I suggest to take a look at the examples.

ddanny
20 Dec 2009, 10:52 AM
Thanks for your fast reply.
I am not sure which of the examples provide such a behavior?

Regards,

Dan

sven
20 Dec 2009, 10:57 AM
There is a HBoxLayout example and a RowLayout example and both explain how to put widgets on the same row. If you use Components, TabPanels or Buttons is not important.

ddanny
20 Dec 2009, 11:32 AM
OK, I understand your approach, but it is not what I need.
I don't need the entire tab panel and some buttons to be aligned in a RowLayout. I need to have the tab label (the thing on the top of the tab panel that displays the tab text) and then some buttons in a RowLayout like layout.

sven
20 Dec 2009, 11:35 AM
You should state your questions than more clearly.

You will need to extend TabPanel for this and implement the feature you need. It is not possible out of the box

ddanny
20 Dec 2009, 11:36 AM
Cool, that would be great!
When do you estimate this feature might be available?

sven
20 Dec 2009, 11:38 AM
This feature wont be available within the framework. You will need to extend Tabpanel and implement the feature you need on your own.

ddanny
20 Dec 2009, 11:40 AM
I understand. Any suggestions on which methods need to be overridden? Any other suggestions?