I published a small `GridLayer.kt` gist for those ...
# compose
o
I published a small
GridLayer.kt
gist for those who could be interested. It aims at displaying a (configurable) grid to ease alignment when implementing design mockups (defaults to
8.dp
and red color). https://gist.github.com/opatry/fde12d9a5c52179338613278d901eacb
💡 4
a
Hi @Olivier Patry! Do you mean if I try to add this to DebugDrawer lib? I will do a new
Ui module
with some tweaks, including this one
o
I'm not sure I follow you 100% but if you want to add an option to your debug drawer to toggle such
DebugLayer
composable, then yes I don't see why it wouldn't work. I did this with Jetbrains Compose with a
MenuBar
to toggle such layer
a
@Olivier Patry that was my idea:
Still need some tweaks, like size of grid
And not like how is configured for the app... but you get the idea
o
Looks great 👍