-
2 May 2011 1:51 AM #1
[4.0.0] Borderless tree panel shows top line
[4.0.0] Borderless tree panel shows top line
Hi,
this is reorder.js from examples folder, I just removed title, border and dockedItems. The tree still shows a blue border line on the top.
How can I remove that line?Code:Ext.require([ 'Ext.tree.*', 'Ext.data.*', 'Ext.tip.*' ]); Ext.onReady(function() { Ext.QuickTips.init(); var store = Ext.create('Ext.data.TreeStore', { proxy: { type: 'ajax', url: 'get-nodes.php' }, root: { text: 'Ext JS', id: 'src', expanded: true }, folderSort: true, sorters: [{ property: 'text', direction: 'ASC' }] }); var tree = Ext.create('Ext.tree.Panel', { border: false, store: store, viewConfig: { plugins: { ptype: 'treeviewdragdrop' } }, renderTo: 'tree-div', height: 300, width: 250, //title: 'Files', useArrows: true, /* dockedItems: [{ xtype: 'toolbar', items: [{ text: 'Expand All', handler: function(){ tree.expandAll(); } }, { text: 'Collapse All', handler: function(){ tree.collapseAll(); } }] }]*/ }); });
Greetings
-
2 May 2011 3:19 AM #2
You should play with:
bodyStyle: {border:0}
and
border: false
Set one or both of true / 1 and to false etc..
Perhaps, one combination will work..
-
2 May 2011 3:32 AM #3
Thank you.
bodyStyle: {border:0}
solved it!
-
9 May 2012 7:46 AM #4
Not fixed in Ext JS 4.1.0
Not fixed in Ext JS 4.1.0
Although you indicate in the EXTJSIV-3499 topic that this bug has been fixed in 4.1.0, I still encounter this issue.
To reproduce, I have just addedto the first tree of "Multiple trees" example.Code:border: false
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
Ext.Window borderless with close button?
By coderobo in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 8 May 2010, 9:45 AM -
invalidText set to 'under' shows one word per line!
By metra in forum Ext 3.x: Help & DiscussionReplies: 6Last Post: 19 Apr 2010, 5:09 AM -
[FIXED] Hovering over a SplitButton shows a weird colored line
By W1cK8 in forum Ext GWT: Bugs (2.x)Replies: 2Last Post: 20 Jan 2010, 9:40 PM -
Debugging firebug the whole js script shows in one line
By baki12 in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 6 Feb 2008, 11:38 AM


Reply With Quote