-
14 Oct 2010 5:07 PM #1
Documentation
Documentation
Hi,
I was going through the API documentation and I noticed a few things - some you may want to fix, and others you may not.
Under Class Ext.Window
- You don't mention "frame" at all. There is a config option called frame that is a boolean - defaults to true. Allows the frame of the windows to be completely hidden if false.
- You have references to a config option "floating", but you don't have an entry for it. For example, the config option of shadow references floating=true
I am continuing to learn and go through the documentation....let me know if you wish me to post more of these...otherwise I won't bother.
Jim
-
14 Oct 2010 5:11 PM #2
Windows are framed and floating as true by default and the options aren't really meant to be modified, which is why they aren't documented.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
14 Oct 2010 5:55 PM #3
Thanks for your reply. I do understand that they are both true by default.
However, there are times when a developer may want to enclose a item inside a window but not have the frame visible.
Anyway....you guys are awesome! Do what you think is best.
Jim
-
14 Oct 2010 9:44 PM #4
It's explicitly hidden because it's expected that a Window is framed by a nice border.
It's actually probably a good idea to unhide it because in Ext 3, to get a floating, resizable BoxComponent, you must create a Window tweaked to not look like a window:
So that you getCode:new Ext.Window({ border: false, // Override Window's default frame: false, // Override Window's default draggable: false, // Override Window's default closable: false, // Override Window's default elements: 'body', // Override Window's default baseCls: 'x-panel', // Override Window's default floating: {shadow: false}, // Override Window's default resizeHandles: 'se,sw', height: 200, width: 200, x: 100, y: 100, bodyStyle: 'background-color:red' // just so you can see it. }).show()

In Ext 4, floatability, resizability etc are where they should be in the hierarchy: At the Component level so everything gets that ability.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
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
Documentation
By mwmcmullen in forum Ext GWT: DiscussionReplies: 1Last Post: 25 Mar 2010, 8:12 AM -
Documentation?
By darren in forum Ext.air for Adobe AIRReplies: 2Last Post: 17 Feb 2010, 12:43 PM -
Documentation ?
By chechelopez in forum Ext GWT: Help & Discussion (1.x)Replies: 2Last Post: 27 Aug 2009, 10:25 AM -
JS Documentation
By madOn in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 24 Apr 2008, 7:02 PM -
How to use documentation
By humpdi in forum Ext 1.x: Help & DiscussionReplies: 9Last Post: 16 Feb 2007, 7:34 AM


Reply With Quote