Hi List,
 
i know this question is maybe the most asked in here. But i can't figure it 
out. I Just want to align my stuff centered, but my lables are just at the left 
top corner, what i am doing wrong:
//snipp
getTimerbox : function()
  {
   var timerbox = new qx.ui.container.Composite(new qx.ui.layout.VBox());
   timerbox.set({
    backgroundColor:"white",
    alignX: "center",
    alignY: "middle"
   });
   
   
   var labelDay = new qx.ui.basic.Label("Test");
   timerbox.add(labelDay);
   var labelTime = new qx.ui.basic.Label("Test");
   timerbox.add(labelTime);
   timerbox.updateLayoutProperties(null);
   timerbox.labelDay = labelDay;
   timerbox.labelTime = labelTime;
   
   return timerbox;
  },
 
//snipp
 
regards Msutafa Sak
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to