flex could handle nil primitives better #64

Closed
opened 2 years ago by gdamore · 1 comments

The current behavior is to add a box that is visible. Probably it would be better to either add an invisible box, or to change the properties of that box so that it has the same background as the flex does. The overall default background is just not a great choice if someone has gone to the effort to style the flex itself.

It's easily worked around by following the documented advice, but I can't think of any good reason that the current default behavior is actually the most desirable behavior.

The current behavior is to add a box that is visible. Probably it would be better to either add an invisible box, or to change the properties of that box so that it has the same background as the flex does. The overall default background is just not a great choice if someone has gone to the effort to style the flex itself. It's easily worked around by following the documented advice, but I can't think of any good reason that the current default behavior is actually the most desirable behavior.
Poster

Happy to submit a PR for this... would be trivial to just make the box transparent, and only slightly harder to make it opaque but honor the flex background if set. Let me know.

Happy to submit a PR for this... would be trivial to just make the box transparent, and only slightly harder to make it opaque but honor the flex background if set. Let me know.
tslocum added the enhancement label 2 years ago
tslocum closed this issue 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: tslocum/cview#64
Loading…
There is no content yet.