PDA

View Full Version : layout problem



steffenk
14 Jul 2007, 2:37 AM
Hi all,

i just started some days ago using extjs, and i'm glowing - real good work !

So excuse that i will bother you with some beginners questions, first i start here:

I built a layout from a tutorial and i have a problem with centerPanel - if I add an toolbar, the height is calculated wrong, you can see it with the scrollbar on the bottom right.
I have the example online so you can see my (minimal) code: http://www.sk-typo3.de/webapp/

Any idea how i can fix that ?

thx

jay@moduscreate.com
14 Jul 2007, 6:01 AM
there is a tutorial/example/trick in the examples section for multiple toolbars.

steffenk
14 Jul 2007, 12:49 PM
Hi djliquidice,

if you mentioned this thread:
http://extjs.com/forum/showthread.php?t=8381

i don't get the point - there is a need of <div> in append method, i don't use append and use only one toolbar.

jay@moduscreate.com
14 Jul 2007, 2:05 PM
yeah, i'm a retard.

jay@moduscreate.com
14 Jul 2007, 2:06 PM
the toolbar height looks fine to me

steffenk
14 Jul 2007, 2:28 PM
it's not the toolbar height, it's the height of th iframe below the toolbar.
Try scroll, you see it. Look to the bottom of the scrollbar, you see a part is missing.

And as i understand it has to be rezised to fit in the space:


myLayout.add('center', centerPanel = new CP('mitte', {
fitToFrame: true,
closable: false,
toolbar: tb,
resizeEl:'inhalt'
}));

steffenk
16 Jul 2007, 6:46 AM
it seems that noone knows a solution, so i think this is a bug ?