[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mozilla-ui
Subject:    Re: XUL Broken? Things don't seem to work.
From:       Ian Oeschger <oeschger () netscape ! com>
Date:       2000-06-27 14:50:58
[Download RAW message or body]

I'll get this info into the XULREF and try to update the tree examples there
today as well.

-ian


Chris Saari wrote:

> I don't believe any docs have been updated, but this is from a previous
> post by Hyatt:
>
> You WILL have to modify the syntax of your tree slightly, so you may
> wish to do this NOW (checking in using the nsbeta2+ bug 30511 if you
> can) to be prepared.
>
> To make a tree conform to the new tree widget syntax:
>     (a) Make sure all columns are explicitly specified inside a
> <treecols> tag.  (I do still support <treecolgroup>, but I'd like to
> change the name to <treecols>, so if you see a <treecolgroup>, change
> it.)
>     (b) Make sure your columns have the appropriate flexes set on them.
> For single-column trees, you typically want a flex of 1.
>     (c) Make sure your outermost <treechildren> has a flex of 1 on it so
> that it will overflow and scroll.
>
> For multi-column trees, you're going to have to ditch the proportional
> widths and replace them with flexes, e.g., width="4*" becomes flex="4".
> This is the only incompatible syntax.  The other changes can be made to
> existing trees without fear of breaking anything, since the table syntax
> ignore flexes.
>
> dave
> (hyatt@netscape.com)
>
> Shahzad Sarwar wrote:
> >
> > Chris where can I find infomation on the new tree syntax??
> >
> > Chris Saari wrote:
> >
> > > Tree has been completely rewritten to sit ontop of grid (built out of
> > > boxes) instead of tables. Text fields are now ontop of ender lite, which
> > > was also a rewrite. So, yes, there are many things changing, and a lot
> > > of bugs still.
> > >
> > > Tabbing is being worked on currently, but won't land until the tree
> > > opens up for beta3 development.
> > >
> > > Shahzad Sarwar wrote:
> > > >
> > > > pete collins wrote:
> > > >
> > > > > > Tree does not work,
> > > > >
> > > > > I noticed that the tree view in my preferances dialog is blank.
> > > > >
> > > > > This is on unix.
> > > > >
> > > > > pete
> > > >
> > > > The tree is just not working, worked just fine in M16.
> > > >
> > > > It also seems that a lot of thing dont work right in an <html:iframe>.
> > > > For example the
> > > > tab controls dont seem to work. And Text fields dont show any text.
> > > > Textarea have nothing in them, but this has been since
> > > > M16.
> > > >
> > > > Stange. Look like a lot of changes to the UI are going in...
> > > >
> > > > Shahzad

--
Ian Oeschger
Principal Writer, Netscape

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic