Re: [qooxdoo-devel] AlignX and AlignY Example

2014-10-06 Thread Martin Wittemann
Hey, you can check out that grid demo which might give you the sample you’re looking for: http://demo.qooxdoo.org/devel/demobrowser/#layout~Grid_Alignment.html Regards, Martin Am 06.10.2014 um 22:38 schrieb aecio mailto:vercingetori...@gmail.com>>: Hi everybody, I'm using a container.Composite

[qooxdoo-devel] AlignX and AlignY Example

2014-10-06 Thread aecio
Hi everybody, I'm using a container.Composite with a layout.Grid as layout. I'm trying to align to the right the content of a cell, but it is imposible, because it always remains in the left. Can someone show me a playground example about the use of the AlignX and AlignY properties. Regards. -

Re: [qooxdoo-devel] alignx and alignY again

2009-07-20 Thread Martin Wittemann
Hello Mustafa, you have to set the align properties on the widgets you want to align not on the parent. So adding the following lines to your example helps: labelDay.setAlignX("center"); labelTime.setAlignX("center"); The setting of the properties alignX and alignY can be removed for th

[qooxdoo-devel] alignx and alignY again

2009-07-19 Thread Mustafa Sak
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.

Re: [qooxdoo-devel] alignX and alignY

2009-05-27 Thread Daniel Wagner
Hi, no, the Grid layout only allows one widget per cell. I'd do something like this: gridContainer.add(image1, {row: 0, column: 1}); gridContainer.add(image2, {row: 1, column: 0}); gridContainer.add(image3, {row: 1, column: 3}); gridContainer.add(image4, {row: 3, column: 1}); Sort of like a goo

Re: [qooxdoo-devel] alignX and alignY

2009-05-27 Thread Jean-Noël Rivasseau
Hi and thanks for the reply, A Grid layout with only one cell then? Jean-Noel On Wed, May 27, 2009 at 10:03 AM, Daniel Wagner wrote: > Hi Jean-Noël, > > I may well be wrong here, but from my understanding, the alignX/Y > properties only work if the parent layout arranges its children in a > cel

Re: [qooxdoo-devel] alignX and alignY

2009-05-27 Thread Daniel Wagner
Hi Jean-Noël, I may well be wrong here, but from my understanding, the alignX/Y properties only work if the parent layout arranges its children in a cell-like structure. From what I can see, apart from Dock only HBox, VBox and Grid support them. I'd use a Grid layout to achieve what you're try

[qooxdoo-devel] alignX and alignY

2009-05-26 Thread Jean-Noël Rivasseau
Hello, I have a simple Composite widget (container) and I want to place 4 images: * first is centered horizontally and at top vertically * second is centered horizontally and at bottom vertically * third is left horizontally and centered vertically * fourth is right horizontally and centered vert