spxbhuhb / adaptive

Consolidated full-stack application development library for Kotlin
https://adaptive.fun
Apache License 2.0
3 stars 0 forks source link

[ui] last row of the grid #75

Open toth-istvan-zoltan opened 1 month ago

toth-istvan-zoltan commented 1 month ago

Gap between the last and the one but the last grid row is wrong for some reason. If I change the repeat to 6 the gap is the same but I'm not sure if it is 16 dp.

        grid {
            colTemplate(100.dp, 400.dp, 1.fr) .. alignItems.startCenter .. gap { 16.dp }
            rowTemplate(44.dp repeat 5)

            textEditor()
            intEditor()
            timeEditor()
            dateEditor()
            enumEditor()
        }
Screenshot 2024-10-22 at 11 45 25