style-elements icon indicating copy to clipboard operation
style-elements copied to clipboard

Feature Request: Wireframe mode

Open ghost opened this issue 7 years ago • 1 comments
trafficstars

I've been playing with this library for a week or so, and I've come across a very helpful layout debugging tool: Apply a 1 pixel black border around all elements and remove any other styling, this way you can easily see which elements may not be width fill or height fill, and you can also diagnose other problems easier as well.

The one pain to this approach is manually editing your stylesheet for this, or creating and managing a separate wireframe sheet to swap in. It would be nice if this debugging tool were built into the library. Something like Style.Debug.wireframe : Style.StyleSheet style variation.

ghost avatar Feb 05 '18 17:02 ghost

This is a great idea! I'm going to play around with this for v5.

mdgriffith avatar Feb 09 '18 13:02 mdgriffith