PDA

View Full Version : Static Margins Using the Portal



almatesic
23 Jun 2009, 6:15 AM
var viewport = new Ext.Viewport({
layout:'border',
items:[{
xtype:'portal',
region:'center',
autoHeight: false,
border: false,
margins:'0 0 0 0',

When i shrink my window i have the entire layout shrinking in porportion to the window size. I do not want this happening. I want to put it inside a container, but I can't seem to do it for some reason. Seems like the margins line only works in percentages and not pixels.

Please let me know how to resolve my issue when you get a chance. Thanks, Al