x - Column index (from left) y - Row index (from top) cols - Width in grid columns rows - Height in grid rows gridType: GridType.Fixed, fixedColWidth: 50, fixedRowHeight: 50, margin: 10, outerMargin: true Base size calculation Item width = (cols × fixedColWidth) + inner margins Item height = (rows × fixedRowHeight) + inner margins cols = 3 rows = 2 Width ≈ (3 × 50) = 150px Height ≈ (2 × 50) = 100px fixedColWidth: 10, based on these value only while resize the item the width and height of the item will be execute fixedRowHeight: 10, Total width =(cols × fixedColWidth) + ((cols − 1) × margin) -- widget width formula (20 x 10) + ((20-1) x 10) 200 + 190 = 390 this is the width of widget