Stickeen: The Story of a Dog, by John Muir (1909):: The width of the crevasse was here about fifty feet, and the sliver crossing revulsion from the depths of despair to exultant, triumphant, uncontrollable joy. http://www.sierraclub.org/john_muir_exhibit/writings/stickeen/the_story_of_a_dog.htmlHOME | I have a popup window which loads html automatically. everything works fine except the window width is occasionally as expected, but most of time extra wide (~900px).
var win = new Ext.Window({ AudioStreet.Net - JONEDWARDO - Music & MP3 Downloads, Videos, Tour :: with mad flows and uncontrollable beats. Flash Audio Player Embed THAT WINDOW CUT IS DEEPCHECK OUT CHILLENEUM LET ME KNOW WHAT CHA THINK. Read Review http://www.audiostreet.net/artist.aspx?artistid=9344HOME |
id: id,
title: title,
width: width,
autoWidth: false,
autoHeight: true,
plain:true,
cls: cls,
autoLoad: {url: page, scripts: true},
modal: true
});
I tried both autoWidth and fixed width, but resulting in the same problem. The content is a grid, with well behaved width.
is there some default width in one the css that I am not aware of?
autoHeight for the window, on the other hand, works like a charm. I never have to worry abut how high the embedded content is.
for those using cookieprovider, make sure you try turning off the cookie temporarily. this fixed all of my wierd size problems. You and Your Newborn - Hunterdon Healthcare System:: the harness until there is 1 finger–width of space at the collar bone and no Uncontrollable crying, irritability. Lack of interest in the baby http://www.hunterdonhealthcare.org/services/maternity_newborn/discharge.aspHOME | The Impact of Morphine After a Spinal Cord Injury:: The significance of uncontrollable nociceptive stimulation after injury is two Width was determined from the most lateral points along the transverse plane. http://www.pubmedcentral.nih.gov/articlerender.fcgi?artid=1965266HOME |
I have the same strange behaviour with my window.
My scenario is:
A window contains 2 tabs (named 'small' and 'big').
In each tab I've an image. In the 'small' tab there is an image of 400x300 px; in the 'big' one the image is 800x600 px.
The height is automatically sets as expected, but the width doesn't.
Do you find a solution?
Is it a bug?
My windows change their position and size, even if I specified the with and height?
in conclusion, the window width can be set using either the width: config or css based on the window's id or cls.
Not having the autoWidth:true capability is truly a nuisance. one has to experiment manual setting a few times for each use of window. And when the window content changes, repeat the exercise.
If possible, please repair window so that autoWidth:true start to work.
I checked the css setting with firebug. indeed it says width=710. it has a mind of its own, and completely disregards what I set for window. how can I track by what, when, how this width got set?
more puzzling, I have identical code running on two computers, one set the width at 400, the other at 710. The 400 one happens to be just the right width. as though window figured out what width fits the embedded content. and yet my (experimental) setting for the width is 600.
___________________________________________
This is the funniest thing. I removed width setting all together, no fixed or auto width setting, and Windows now fit its content perfectly. Removing autoHeight: true, same effect. I can't imagine what went wrong when I had autoWidth: true. the problem is over for me, but there seems to be something wrong with the lib.
yes, i have run into size/placement issues that came down to elements automatically saving their state via a configured stateManager. I have looked into it, but there seems to be no easy way to preclude specific elements from being managed by stateManager, so you have a all or none approach to state management.
hopefully this oversight is fixed before final release of 2.0.
the only sure way I found to fix it is setting css by the window's id or class.
I tried, with delay up to 500. It did not fix it.
This may be a result of the Window not knowing the size of the images at render time b/c they haven't been loaded. Not tested, but you could try
win.on('show', function() {
win.syncSize.defer(100); <- might have to delay this more if your images are slow to load.
});
win.show();
Get Smart About Monitoring Virtual Machines
Microsoft Gets Ex-Streamly Cozy with U.K.'s MediaWave
|