View Full Version : Space between panels
hanganum
15 Oct 2007, 12:02 AM
Hi,
I'm trying to change the spacing between panels (currently 5px), but I guess we're not talking only CSS changes. Is there a way to set it from the API perhaps?
Thanks
Thomas_K
15 Oct 2007, 12:20 AM
new Ext.TabPanel({
border:false,
activeTab:1,
tabPosition:'bottom',
margins:'0 5 0 0',
items:[{....................
look on margins and paddings. :)
humm.... sorry its for ext2.0
hanganum
15 Oct 2007, 12:35 AM
It's ok, I'm working with 2.0, and that seems to work indeed.
But when panels are collapsed, they seem to be rendered using the old margins ...
new Ext.TabPanel({
border:false,
activeTab:1,
tabPosition:'bottom',
margins:'0 5 0 0',
items:[{....................
look on margins and paddings. :)
humm.... sorry its for ext2.0
Animal
15 Oct 2007, 1:47 AM
cmargins
hanganum
15 Oct 2007, 3:26 AM
Much appreciated. Thanks!
cmargins
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.