-
22 Aug 2007 3:05 AM #1
Tabs' width in a layout is not changed when the region width changes
Tabs' width in a layout is not changed when the region width changes
Hi,
I have a region with two bottom tabs (I created a new Ext.BorderLayout, with a region "west", and inside west there are two ContentPanels).
When I resize the region the tabs' width is not changed accordingly (getting thinner or wider).
Any ideas?
Thanks,
MayaMaya Lincoln
www.processgene.com
-
26 Aug 2007 2:49 PM #2
Have you configured content panels with fitToFrame:true and fitContainer:true?
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
30 Aug 2007 8:43 AM #3
Yes, I did.
Yes, I did.
Thanks for your answer.
Yes, I did use those two definitions.
Pls. find enclosed my code:
Code:layout.add('west', new Ext.ContentPanel('classes', {title: "First", fitToFrame:true, toolbar:tree_toolbar, fitContainer:true})); layout.add('west', new Ext.ContentPanel('search_results', {title: "Second", fitToFrame:true, fitContainer:true}));Maya Lincoln
www.processgene.com
-
30 Aug 2007 10:23 AM #4
A question came to my mind... By tabs you mean that small things with titles that you click when you want to change tab?
If yes, I don't believe that their width should change with region/window resizing.Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
2 Sep 2007 8:11 AM #5
They do change when I create a TabPanel
They do change when I create a TabPanel
Yes - By tabs I mean the tab titles - sorry for being unclear.
When I create a TabPanel with TabPanelItems inside - their title's rectangle width changes when I change their window's width, and also their text gets shorter or longer.
Can I reach the same effect with tab titles created in a region?
Thanks again,
MayaMaya Lincoln
www.processgene.com
-
2 Sep 2007 2:09 PM #6
resizeTabs:true
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
3 Sep 2007 4:58 AM #7
Did that - it doesn't help
Did that - it doesn't help
I did that - but the Tabs are not resized. Any other ideas?
Maya Lincoln
www.processgene.com
-
2 Jun 2008 8:55 PM #8
I used risizeTab and this work fine.
But, when the tab title is so long, only a part can be seen. ResizeTab asign a standard with to all the tabs in the region. Now I ask: How can I resize all tabs without losing part of title?
Thanks for your help.
-
3 Jun 2008 12:47 AM #9
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video


Reply With Quote