Hello,

i try now this to add some elements. But how can i fix the size of the  
textelements, that i get a  tablelike formating of the elemets. now the 
elemens  not real good formated

             getTreeItem : function(treeItem, menge, imei, datum, zeit, 
kundenname){
                   // The standard tree icon
                 treeItem.addIcon();

                 if(menge > 0) {
                     treeItem.setIcon("../../filepod/system/status/up.png");
                     }
                 else if(menge < 0) {
                     
treeItem.setIcon("../../filepod/system/status/down.png");
                     }
                 else {
                     
treeItem.setIcon("../../filepod/system/status/nochange.png");
                     }

                   if (treeItem instanceof qx.ui.tree.TreeFolder) {
                     treeItem.addOpenButton();
                       }

                 treeItem.addLabel(menge + " x " + imei);
                 treeItem.addWidget(new qx.ui.core.Spacer(), {flex: 1});

                 var text = new qx.ui.basic.Label(datum);
                   treeItem.addWidget(text);
                 treeItem.addWidget(new qx.ui.core.Spacer(), {flex: 1});

                 var text = new qx.ui.basic.Label(zeit);
                   treeItem.addWidget(text);
                 treeItem.addWidget(new qx.ui.core.Spacer(), {flex: 1});

                 var text = new qx.ui.basic.Label(kundenname);
                   treeItem.addWidget(text);
                 treeItem.addWidget(new qx.ui.core.Spacer(), {flex: 1});

                   return treeItem;
                 },

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to