-
18 Sep 2008 11:27 AM #1
[2.2] fit layout bug
[2.2] fit layout bug
Fit layout is totally unaware about its own paddings and its child margins:
Code:Ext.onReady(function(){ var p = new Ext.Window({ width : 500, height: 300, layout : 'fit', items : [{ style : 'margin: 50px;' }] }); p.show(); });
-
19 Sep 2008 12:01 AM #2
The problem of accounting for the Container Element's padding and child item Element's margins exists in several layouts. It needs fully investigating by the core devs.
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
19 Sep 2008 7:13 AM #3
Yeah, seems almost all layouts affected, except Column (which have another strange behavior - different height columns).
-
19 Sep 2008 11:07 AM #4
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
29 Sep 2008 4:23 AM #5
I also patched it (for personal use). As I saw there is also Saki's patch for this.
So the problem is solved 3 times and actually it is still not solved - quantum effect ).
As I see the problem is that Ext is almost "closed source" for now - there are no chances to apply patch for this to development trunk for example.
-
29 Sep 2008 4:44 AM #6
I'm sure Jack and Brian have seen the questions and reports about layouts not taking into account the container element's padding, and the component elements' margins, and have plans to overhaul the layout manager classes.
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
29 Sep 2008 4:48 AM #7
IMHO they should just implement patch applying culture in the community.
-
29 Sep 2008 6:32 AM #8
I think it would be disastrous to open up the SVN repository to anyone who wants to throw code in.
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
29 Sep 2008 6:48 AM #9
Sure. I'm about "patch culture" like in any other open source project. If you wrote a patch and it looks sane - you have good chances it will be applied by authors (may be after discussing, refactoring, etc).
-
29 Sep 2008 7:58 AM #10
I think Jack and Brian do work like that. It just seems to have slowed up in the past 6 to 9 months.
Before that you could feed code in, Jack would process it and come up with a version of it in just a couple of hours. I think they are very busy now, and with more responsibility on solid releases, the turnaround on code fixes gets longer and longer. It just cab't be as agile as when it was one man and his PC.Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642


Reply With Quote