On Thu, Feb 2, 2012 at 08:05, Harlan H. Bloom
<[email protected]>wrote:
> Hi Fritz,
> Here is part of what I have. I've taken them from a couple different
> examples and trying to piece them together since I haven't been able to
> find a single example; likely I've got something not quite right.
>
> Application.js:
> var page5 = new h4.view.Twitter("Twitter");
> tabView.add(page5);
>
> Also tried:
> tabView.add(new h4.view.Twitter);
>
> Also tried:
> tabView.add(new h4.view.Twitter("Twitter"));
>
Your uses of the class, above, are fine.
> Twitter.js:
> qx.Class.define("h4.view.Twitter",
> {
> extend : qx.ui.tabview.Page,
>
> construct : function()
> {
> this.base(arguments, "twitter");
>
> // hide the window buttons
> this.setShowClose(false);
> this.setShowMaximize(false);
> this.setShowMinimize(false);
>
These properties don't exist. The first one should be:
this.setShowCloseButton(false);
The latter two don't exist at all, and don't make any sense. Tabview pages
always take up the size of the tabview.
Here's a working playground example: http://tinyurl.com/7flpaff
*
*
Cheers,
Derrell
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel