facebook / facebook/chisel

Feature idea: playout command, like pviews but just for layout

Open
#79 1 comment 0 reactions 0 assignees View on GitHub
wishlist
Dominant language
Python
Stars
9.2k
Forks
790
PR merge metrics
No merged PRs in 30d

Description

A `playout` command might differ from `pviews` by:
1. Don't show full `-description`, just show class name and frame. Perhaps an flag to allow inclusion of a given property, if present.
2. Order the tree visually, top (minY) to bottom (maxY), left (minX) to right (maxX). Currently `pviews` shows things in breadth first of subview order (back-to-front) but this order can differ from visual order.
3. Show frames converted to the given root view, so all origins can be compared without reference to the parent's frame.

Alternatively, could make `pviews` do these biddings via flags.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.