Hi,
I modified the sample complex layout to try to create an MDI type interface, basically I removed the rightmost column, and made the center area an empty container instead of a tab panel. Now I am opening new Windows in the center area, which seems to work great, with the following 2 minor issues: Resize any window to an exact, predefined size with Sizer :: Jul 17, 2007 Freeware application Sizer resizes windows to pixel-specific sizes through the right-click menu so that rather than wasting screen real http://www.technobuzz.net/resize-any-window-to-an-exact-predefined-size-with-sizer/HOME |
Bug 61112 – resizing a window should show the size:: Subject: Re: [Kwin] New: resizing a window should show the size On Friday, 11 July 2003 17:09, I have no issues here - both position and size work fine. http://bugs.kde.org/show_bug.cgi?id=61112HOME | GetAFreelancer.com - CSS experts needed for resize with window size:: May 16, 2007 Freelance programmers and web designers bid on CSS experts needed for resize with window size. An outsourced project from Web Bonheur. http://www.getafreelancer.com/projects/Javascript-Flash/CSS-experts-needed-for-resize.htmlHOME |
1. when I specify and height and width in the new Window config options, they are ignored and window is seemingly randomly sized. I can call setSize after I create the window to set the intial size, though.
2. I have constrained = true to force the window to stay inside its container, which works great, but I can resize the window outside the container, which screws it up. I thought constrain would prevent this. Windows Explorer Window Size problem - Club CDFreaks - Knowledge :: May 12, 2003 I tend to resize the window to waht ever size I need and then make some new ones from it (Ctrl N). Normally works for me. http://club.cdfreaks.com/f3/windows-explorer-window-size-problem-86025/HOME |
So, I am writing something to get the container size and prevent resizing outside its limits, but I think constrain should handle this.
Anyone have any ideas why the initial size doesn't work?
Brian
1. Can you post your sample code? (Just the relevant portion where you create the Window)
2. Just a link to a thread I started for a similar problem, with no replies so far: http://extjs.com/forum/showthread.php?t=17024
Note, I tried this without layout: fit, that is the only other option I tried.
It does not take the intial 400 x 400 size, and I can resize it outside its container.
To see my working start, go to
http://216.119.235.161:8080/itracker/
click New - Implant
There may be something wrong with my overall layout I have created
var windows = new Ext.WindowGroup();
var implantform = function(config) {
var win = windows.get('brian');
if( ! win )
{
var win = new Ext.Window({
id: 'brian',
manager: windows,
minimizable: true,
maximizable: true,
width: 400,
height: 400,
html : 'Something useful would be in here. ',
shim:false,
animCollapse:false,
constrainHeader:true,
constrain: true,
renderTo: 'mdi',
layout: 'fit',
autoScroll: true
});
}
win.setSize({height: 400,width:400});
win.show();
Where's The Advantage In Windows Genuine Advantage?
Stocks Bounce After S&P Joins Bear Market
|