Hi Matthew,
labelcont suppose to be a qx.ui.container.Composite, right? And it is
created here:
case "labelcont":
control = new qx.ui.container.Composite(new qx.ui.layout.VBox(1));
control.setAnonymous(true);
this._add(control);
break;
And in _applyGap method, this._getChildControl('labelcont') returns an
qx.ui.container.Composite instance, that has not a spacing property and
there is no setSpacing() method for qx.ui.container.Composite.
I've just created a simple example:
var ct = new qx.ui.container.Composite(new qx.ui.layout.Grow);
var list1 = new tileview.TileView();
list1.add(new tileview.TileViewItem("product_1_4.jpg",
"../uploads/products/product_1_4.jpg", "86 x 103", "JPEG Image"));
list1.add(new tileview.TileViewItem("product_1_3.jpg",
"../uploads/products/product_1_3.jpg", "86 x 103", "JPEG Image"));
ct.add(list1);
this.getRoot().add(ct,
{
left : 0,
top : 0,
right : 0,
bottom : 0
});
That's on main() method in Application.js, and nothing else is done. My qx
revision is 16885.
I hope that helps.
On Sat, Dec 6, 2008 at 5:45 PM, Petr Kobalíček <[EMAIL PROTECTED]>wrote:
> Hi Guilherme,
>
> this is only warning and means that image is not in assets I think.
> Just ignore it, it will not show in build-version.
>
> Cheers
> - Petr
>
> 2008/12/6 Guilherme Aiolfi <[EMAIL PROTECTED]>:
> > trunk here to. I guess I'm doing something wrong:
> >
> > 30272ms qx.ui.basic.Image[us]: Unknown image:
> > ../uploads/products/product_1_4.jpgNative.js (linha 51)
> > 30308ms qx.ui.basic.Image[vc]: Unknown image:
> > ../uploads/products/product_1_3.jpgNative.js (linha 51)
> >
> > it's strange because those images are showing just fine.
> >
> > On Sat, Dec 6, 2008 at 9:36 AM, Matthew Gregory
> > <[EMAIL PROTECTED] <[EMAIL PROTECTED]>> wrote:
> >>
> >> Strange what version of qooxdoo are on? [EMAIL PROTECTED] just tried it
> >> against the
> >> trunk and it works fine for me.
> >>
> >> Guilherme Aiolfi wrote:
> >> > Hi,
> >> >
> >> > I was trying to use TileView and I'm getting this error:
> >> >
> >> > this._getChildControl("labelcont").setSpacing is not a function
> >> >
> >> > if I comment this line out, it works.
> >> > qx revision: 16884
> >> > On Mon, Nov 17, 2008 at 8:51 PM, Sebastian Werner
> >> > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
> >> >
> >> > Still it's possible to share some appearance when using the
> include/
> >> > alias options e.g.
> >> >
> >> > "tileviewitem" : "list-item"
> >> >
> >> > redirects all child controls as well (still missing tileviewitem/
> >> > description)
> >> >
> >> > Sebastian
> >> >
> >> >
> >> > Am 17.11.2008 um 23:49 schrieb Matthew Gregory:
> >> >
> >> > > I spent quite a while trying to figure out the best way to
> create
> >> > the
> >> > > TileViewItem, I decided the best way to avoid duplicating code
> >> > was to
> >> > > inherit from ListItem which is just a plan Atom at heart. To
> >> > allow
> >> > > me to
> >> > > use 3 seperate labels instead of just the one that the Atom
> >> > creates
> >> > > I've
> >> > > overridden createChildControlImpl and use this for all the
> >> > labels. The
> >> > > framework then automatically sets the child control's
> appearances
> >> > to
> >> > > "tileviewitem/label", "tileviewitem/description",
> "tileviewitem/
> >> > > status"
> >> > > etc... hence the need for a custom appearance.
> >> > >
> >> > > However, Derrell has added bug 1591 that suggests we should
> have
> >> > a
> >> > > smarter way of including appearances from contrib projects.
> >> > >
> >> > > Hope that's made it clear,
> >> > > Matt
> >> > >
> >> > > Petr Kobalíc(ek wrote:
> >> > >> Hi Matthew,
> >> > >>
> >> > >> thank you for your work!
> >> > >>
> >> > >> In the future, will be possible to use only listbox theme ?
> >> > Where is
> >> > >> the point I'm missing;)
> >> > >>
> >> > >> Cheers
> >> > >> - Petr
> >> > >>
> >> > >> 2008/11/17 Matthew Gregory <[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >> > <mailto:[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >>:
> >> > >>> Thats good :)
> >> > >>> I've made quite a few improvements to the orriginal source I
> >> > >>> posted. The
> >> > >>> main difference is that TileViewItem now derrives from
> ListItem
> >> > so
> >> > >>> it
> >> > >>> can be used in forms without duplicating a lot code. The two
> >> > main
> >> > >>> difference you might have to make in your code are changing
> >> > get/
> >> > >>> setTile
> >> > >>> to get/SetLabel and also either include
> >> > tileview.theme.Apperance
> >> > >>> in your
> >> > >>> own theme or add the following code to Application.js:
> >> > >>>
> >> > >>> qx.Theme.include(qx.theme.modern.Appearance,
> >> > >>> tileview.theme.Apperance);
> >> > >>>
> >> > >>> Also I haven't tested this yet, but I've designed it so you
> can
> >> > add
> >> > >>> TileViewItem to List if you just wanted a list of tiles and
> >> > also add
> >> > >>> ListItem to TileView if you want a flowing tileview but don't
> >> > need
> >> > >>> the
> >> > >>> overhead of the description and status labels.
> >> > >>>
> >> > >>> Any problems just let me know,
> >> > >>> Matt
> >> > >>>
> >> > >>>
> >> > >>> Jean-Baptiste BRIAUD -- Novlog wrote:
> >> > >>>> Very good news !
> >> > >>>> Thanks you for sharing.
> >> > >>>>
> >> > >>>> I'm using it since you posted the source here. I'll update
> my
> >> > >>>> code to
> >> > >>>> the contrib version.
> >> > >>>>
> >> > >>>> On 17 Nov 2008, at 21:31, Matthew Gregory wrote:
> >> > >>>>
> >> > >>>>> Hi All,
> >> > >>>>> Just to let you know that my TileView widget is now part of
> >> > >>>>> qooxdoo-contrib. I'll be putting some documentation on the
> >> > wiki
> >> > >>>>> shortly
> >> > >>>>> but in the meantime feel free to check it out and report
> any
> >> > bugs/
> >> > >>>>> needed
> >> > >>>>> improvements.
> >> > >>>>>
> >> > >>>>> There is currently a bug (already mentioned on this mailing
> >> > >>>>> list) in
> >> > >>>>> the
> >> > >>>>> FlowLayout that prevents scrolling from working correctly
> but
> >> > >>>>> will be
> >> > >>>>> fixed in 0.8.1
> >> > >>>>>
> >> > >>>>> My next checkin should support icon overlays similar to how
> >> > SVN
> >> > >>>>> does
> >> > >>>>> to
> >> > >>>>> indicate status.
> >> > >>>>>
> >> > >>>>> Awaiting your comments :)
> >> > >>>>> Matt
> >> > >>>>>
> >> > >>>>>
> >> > >>>>>
> >> >
> >> >
> -------------------------------------------------------------------------
> >> > >>>>> This SF.Net email is sponsored by the Moblin Your Move
> >> > Developer's
> >> > >>>>> challenge
> >> > >>>>> Build the coolest Linux based applications with Moblin SDK
> &
> >> > win
> >> > >>>>> great prizes
> >> > >>>>> Grand prize is a trip for two to an Open Source event
> >> > anywhere in
> >> > >>>>> the world
> >> > >>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >> > <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> >> > >>>>> _______________________________________________
> >> > >>>>> qooxdoo-devel mailing list
> >> > >>>>> [email protected]
> >> > <mailto:[email protected]>
> >> > >>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >> > >>>>>
> >> > >>>>
> >> > >>>>
> >> >
> >> >
> -------------------------------------------------------------------------
> >> > >>>> This SF.Net email is sponsored by the Moblin Your Move
> >> > >>>> Developer's challenge
> >> > >>>> Build the coolest Linux based applications with Moblin SDK &
> >> > win
> >> > >>>> great prizes
> >> > >>>> Grand prize is a trip for two to an Open Source event
> anywhere
> >> > in
> >> > >>>> the world
> >> > >>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >> > <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> >> > >>>
> >> > >>>
> >> >
> >> >
> -------------------------------------------------------------------------
> >> > >>> This SF.Net email is sponsored by the Moblin Your Move
> >> > Developer's
> >> > >>> challenge
> >> > >>> Build the coolest Linux based applications with Moblin SDK &
> >> > win
> >> > >>> great prizes
> >> > >>> Grand prize is a trip for two to an Open Source event
> anywhere
> >> > in
> >> > >>> the world
> >> > >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >> > <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> >> > >>> _______________________________________________
> >> > >>> qooxdoo-devel mailing list
> >> > >>> [email protected]
> >> > <mailto:[email protected]>
> >> > >>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >> > >>>
> >> > >>
> >> > >>
> >> >
> >> >
> -------------------------------------------------------------------------
> >> > >> This SF.Net email is sponsored by the Moblin Your Move
> >> > Developer's
> >> > >> challenge
> >> > >> Build the coolest Linux based applications with Moblin SDK &
> win
> >> > >> great prizes
> >> > >> Grand prize is a trip for two to an Open Source event anywhere
> >> > in
> >> > >> the world
> >> > >> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >> > <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> >> > >
> >> > >
> >> > >
> >> >
> >> >
> -------------------------------------------------------------------------
> >> > > This SF.Net email is sponsored by the Moblin Your Move
> >> > Developer's
> >> > > challenge
> >> > > Build the coolest Linux based applications with Moblin SDK &
> win
> >> > > great prizes
> >> > > Grand prize is a trip for two to an Open Source event anywhere
> in
> >> > > the world
> >> > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >> > <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> >> > > _______________________________________________
> >> > > qooxdoo-devel mailing list
> >> > > [email protected]
> >> > <mailto:[email protected]>
> >> > > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >> >
> >> >
> >> >
> >> >
> -------------------------------------------------------------------------
> >> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> >> > challenge
> >> > Build the coolest Linux based applications with Moblin SDK & win
> >> > great prizes
> >> > Grand prize is a trip for two to an Open Source event anywhere in
> >> > the world
> >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >> > <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> >> > _______________________________________________
> >> > qooxdoo-devel mailing list
> >> > [email protected]
> >> > <mailto:[email protected]>
> >> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >> >
> >> >
> >> >
> >> >
> ------------------------------------------------------------------------
> >> >
> >> >
> >> >
> ------------------------------------------------------------------------------
> >> > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> >> > Nevada.
> >> > The future of the web can't happen without you. Join us at MIX09 to
> >> > help
> >> > pave the way to the Next Web now. Learn more and register at
> >> >
> >> >
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> >> >
> >> >
> >> >
> ------------------------------------------------------------------------
> >> >
> >> > _______________________________________________
> >> > qooxdoo-devel mailing list
> >> > [email protected]
> >> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> >> Nevada.
> >> The future of the web can't happen without you. Join us at MIX09 to
> help
> >> pave the way to the Next Web now. Learn more and register at
> >>
> >>
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> >> _______________________________________________
> >> qooxdoo-devel mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >
> >
> >
> ------------------------------------------------------------------------------
> > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada.
> > The future of the web can't happen without you. Join us at MIX09 to help
> > pave the way to the Next Web now. Learn more and register at
> >
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> > _______________________________________________
> > qooxdoo-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >
> >
>
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
>
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel