[GH-ISSUE #26] Bug: Border of Flex-container is not drawn #19

Closed
opened 2026-03-04 01:01:10 +03:00 by kerem · 1 comment
Owner

Originally created by @maja42 on GitHub (Jan 13, 2018).
Original GitHub issue: https://github.com/rivo/tview/issues/26

I have the following primitive hierarchy:

Flex, 2 columns
  - left: TextView (with border and title)
  - right: Pages (no border)
      - Flex, 2 columns (with border and title, but they are not drawn!)
          - TableView (no border)
          - TextView (with border and title) 
      - Other page items (all of type TextView)

Expected output:
The inner flex-container has a border and a title that is printed.
Within this container are two separate primitives, the table (without a border), and the TextView (with a border)

+----Title--------Title of Flex within Pages container---------+
|             |Table content starts here       +----TextView---|
|             |(no border or title)            |              ||
|             |                                |              ||
|             |                                |              ||
|             |                                |              ||
|             |                                |              ||
|             |                                |              ||
|             |                                |              ||
|             |                                |              ||
|             |                                |              ||
|             |                                |              ||
|             |                                |              ||
|             |                                |              ||
|             |                                |              ||
|             |                                |              ||
|             |                                |              ||
|             |                                |              ||
|             |                                |              ||
|             |                                |              ||
|             |                                |              ||
|             |                                |              ||
|             |                                +---------------|
+-------------+------------------------------------------------+
Originally created by @maja42 on GitHub (Jan 13, 2018). Original GitHub issue: https://github.com/rivo/tview/issues/26 I have the following primitive hierarchy: ``` Flex, 2 columns - left: TextView (with border and title) - right: Pages (no border) - Flex, 2 columns (with border and title, but they are not drawn!) - TableView (no border) - TextView (with border and title) - Other page items (all of type TextView) ``` Expected output: The inner flex-container has a border and a title that is printed. Within this container are two separate primitives, the table (without a border), and the TextView (with a border) ``` +----Title--------Title of Flex within Pages container---------+ | |Table content starts here +----TextView---| | |(no border or title) | || | | | || | | | || | | | || | | | || | | | || | | | || | | | || | | | || | | | || | | | || | | | || | | | || | | | || | | | || | | | || | | | || | | | || | | | || | | | || | | +---------------| +-------------+------------------------------------------------+ ```
kerem closed this issue 2026-03-04 01:01:11 +03:00
Author
Owner

@rivo commented on GitHub (Jan 14, 2018):

Good catch. That was quite easy to fix.

<!-- gh-comment-id:357509776 --> @rivo commented on GitHub (Jan 14, 2018): Good catch. That was quite easy to fix.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#19
No description provided.