Try setting up height as well. Also see if validateNow() after you finish adding images at the run time has any effect.
On Thu, Jul 3, 2014 at 11:03 AM, Frank Dahmen <[email protected]> wrote: > width is 100%, height has no value, it shall grow in height but only when > needed (5 icons, 9 icons etc.) > > > Am 03.07.2014 16:55, schrieb mark goldin: > > Have you set width and height of the control to percentage values? >> >> >> On Thu, Jul 3, 2014 at 2:47 AM, Frank Dahmen <[email protected]> wrote: >> >> Hi, >>> >>> I have a tilegroup where i add icons (spark images) at runtime. >>> There is enough room for 4 icons in one row of the tilegroup, >>> but when adding the third icon the group grows as for making room for the >>> next row, >>> although the third icon is placed in the first row (the 4th also) >>> the same is for the 2nd row and the 7th icon and so on >>> here some high tech graphics to show what i mean ;) >>> >>> 2 icons (right): >>> ----------------------------- >>> icon icon >>> ----------------------------- >>> >>> >>> 3 icons (wrong): >>> ---------------------------- >>> icon icon icon >>> >>> >>> ---------------------------- >>> >>> >>> should be: >>> --------------------------- >>> icon icon icon >>> --------------------------- >>> >>> >>> what I'm doing wrong? >>> thanks >>> Frank >>> >>> >
