|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Tree does not indent childsHi,
I'm getting a strange behavior with the tree in 1.4. See image All nodes are presented like a column? Regards
_______________________________________________ FAQ: http://dojotoolkit.org/support/faq Book: http://docs.dojocampus.org Dojo-interest@... http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest |
|
|
Re: {Spam?} Tree does not indent childsOn 10/14/2009 08:57 PM, Jose Noheda wrote:
> I'm getting a strange behavior with the tree in 1.4. See image For the record, my 1.4 beta1 tree works fine. My code and data was posted earlier, see "Re: [Dojo-interest] dijit.Tree programmatic node expansion and focus problem". Nick _______________________________________________ FAQ: http://dojotoolkit.org/support/faq Book: http://docs.dojocampus.org Dojo-interest@... http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest |
|
|
Re: {Spam?} Tree does not indent childsYes, I checked the the tests and trees look fine. The code in question worked on 1.3.2 though and it doesn't seem to be a problem on my side because the tree is painting all the different nodes (just not indented) and no js error is thrown.
Regards
On Wed, Oct 14, 2009 at 4:34 PM, Nick Fenwick <neek@...> wrote: On 10/14/2009 08:57 PM, Jose Noheda wrote: _______________________________________________ FAQ: http://dojotoolkit.org/support/faq Book: http://docs.dojocampus.org Dojo-interest@... http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest |
|
|
Re: Tree does not indent childsSorry, I forgot to mention and it's probably important. The tree in question is placed inside a dialog and uses the new autoexpand=true attribute
Regards
On Wed, Oct 14, 2009 at 3:57 PM, Jose Noheda <jose.noheda@...> wrote: Hi, _______________________________________________ FAQ: http://dojotoolkit.org/support/faq Book: http://docs.dojocampus.org Dojo-interest@... http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest |
|
|
Re: Tree does not indent childsIt works for me, at least on FF3.5/mac. What's supposed to happen is that Tree.resize() is called after the Tree is visible and that queries some CSS to get the 19px (default) setting, and then applies a multiple of 19px to each node, depending on that node's indent.
Not sure why it isn't working for you, you'd need to supply a small test case.
On Wed, Oct 14, 2009 at 10:57 PM, Jose Noheda <jose.noheda@...> wrote: Hi, _______________________________________________ FAQ: http://dojotoolkit.org/support/faq Book: http://docs.dojocampus.org Dojo-interest@... http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest |
|
|
Re: Tree does not indent childsI've tried to replicate the problem in a simple test case to no avail. The problem exists, no doubt, but connecting to the dialog onshow and calling resize on the tree serve as a workaround for me (thank you for pointing). So in the end I'm happy with the result.
Regards
On Thu, Oct 15, 2009 at 11:09 AM, Bill Keese <wkeese@...> wrote: It works for me, at least on FF3.5/mac. What's supposed to happen is that Tree.resize() is called after the Tree is visible and that queries some CSS to get the 19px (default) setting, and then applies a multiple of 19px to each node, depending on that node's indent. _______________________________________________ FAQ: http://dojotoolkit.org/support/faq Book: http://docs.dojocampus.org Dojo-interest@... http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest |
|
|
Re: Tree does not indent childsJust in case anyone was curious about the cause of this. I experienced the same problem and it was because I was using the 1.3.2 css while running the 1.4.0b2 code. Moving to the correct css fixed the problem.
-Joe
On Thu, Oct 15, 2009 at 4:09 AM, Jose Noheda <jose.noheda@...> wrote: I've tried to replicate the problem in a simple test case to no avail. The problem exists, no doubt, but connecting to the dialog onshow and calling resize on the tree serve as a workaround for me (thank you for pointing). So in the end I'm happy with the result. _______________________________________________ FAQ: http://dojotoolkit.org/support/faq Book: http://docs.dojocampus.org Dojo-interest@... http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest |
| Free embeddable forum powered by Nabble | Forum Help |