Skip to content

Table view overflows the data pane and breaks the layout #14

Closed

Description

@planadecu

In table view (v), the table shows viewportSize rows (terminal rows − 8, a number sized for the list panes). The data pane also holds the parameter bar, the metric line and the table header, so the rows run past the pane's bottom border and squash the status bar.

Reproduced in a 30×115 pseudo-terminal: the last table rows land on the pane's bottom border, and the status bar collapses to one garbled line.

The chart had the same over-sized height; PR #13 fixes that by measuring the space left in the pane (measureElement). Proposed fix: use the same measured height for the table's page size (dataNavReal), minus the header row.

Fix before 0.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Fix before the next releasebugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions