Whats wrong with my code? converting VB asp to C#.NET (html :: Dec 25, 2006 Whats wrong with my code? converting VB asp to C#. .. style="margin: 16px; border-top: 0px solid white; filter:progid:DXImageTransform. http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/Q_22102341.htmlHOME | I simply tried to extend window example in examples folder by adding a new section to north direction like this :
var subTabs = new Ext.TabPanel(
{
region: 'center',
margins:'3 3 3 0',
activeTab: 0,
defaults:{autoScroll:true},
items:
[
{
title: 'Bogus Tab',
closable:true
}
,
{
title: 'Another Tab',
closable:true
}
,
{
title: 'Closable Tab',
closable:true
}
]
}
);
var subNav = new Ext.tree.TreePanel(
{
region:'west',
title:'Menü',
split:true,
width: 225,
minSize: 175, Rendering a button to a bitmap (whats wrong with this code?):: Rendering a button to a bitmap (whats wrong with this code?) There could be two problems:. 1) Layout has never been performed on the element tree you are http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/487a7251-db53-4297-8ba3-37c7c53ca43a/HOME |
maxSize: 400,
collapsible: true,
animCollapse : true, (P-PDF) What's Wrong with my PDF? Description:: automatic zoom in with hand tool (2) page layout in word not converting properly (3) word 2007 to pdf - border line weight wrong (1) http://www.planetpdf.com/forumarchive/forum106.aspHOME |
animate:true,
margins:'0 0 5 5',
loader: new Application.SubWindowTreeLoader(),
rootVisible:false,
lines:true,
autoScroll:true,
root: new Ext.tree.AsyncTreeNode(
{
text: 'Forums',
expanded:true
}
)
}
);
var subForm = new Ext.form.FormPanel(
{
region:'east',
split:true,
//url:'save-form.php',
defaultType: 'textfield',
items:
[
{
fieldLabel: 'Send To',
name: 'to',
anchor:'100%' // anchor width by percentage
}
,
{
fieldLabel: 'Subject',
name: 'subject',
anchor: '100%' // anchor width by percentage
}
,
{
xtype: 'textarea',
hideLabel: true,
name: 'msg',
anchor: '100%' // anchor width by percentage and height by raw adjustment
}
]
}
);
var subWin = new Ext.Window(
{
title: 'Layout Window',
closable:true,
minimizable:true,
width:1000,
height:550,
plain:true,
layout: 'border',
items: [subNav,subTabs,subForm]
}
);
At last i say subWin.show(); but only left tree and center tab panels are visible, the other one "form panel" is not visible.
I'm testing this with last version of firefox.
Any suggestion will welcome.
I give with to it. But problem still continues.
I changed the code a little. But always i take the same error : The north panel is not visible, only title of the panel is visible. When you click the expand button it does not expan content in it. Only way to see te content inside the north panel is resizing through split pane.
Here's a shot on window show :
2937
Regions other than center need an initial size.
Thank you for this reply.
At last i found out that the problem was the text editor i use which changes height to Height without any permission.
You did not specify the width property for that panel.
My previous reply was concerned with the east panel --the form panel-- which you said was not visible initially, because its config lacked a width. But you did not include a north panel in your sample code... If you now have a north panel which is not visible initially, I'd suspect you have the same problem: are you giving it a height config? (http://extjs.com/forum/showthread.php?t=19042)
Regions other than center need an initial size.
Where's The Advantage In Windows Genuine Advantage?
Stocks Bounce After S&P Joins Bear Market
|