[GH-ISSUE #1065] Border customization #774

Closed
opened 2026-03-04 01:07:38 +03:00 by kerem · 2 comments
Owner

Originally created by @Srijan619 on GitHub (Dec 29, 2024).
Original GitHub issue: https://github.com/rivo/tview/issues/1065

Hi,

Quiet new here, I am trying to understand how to style border of primitive (flex or textview)? Or is it even possible to have like border radius, or even just the width of the border customizable?

The default border looks like a double border when focus is set to the element.

image
Originally created by @Srijan619 on GitHub (Dec 29, 2024). Original GitHub issue: https://github.com/rivo/tview/issues/1065 Hi, Quiet new here, I am trying to understand how to style border of primitive (flex or textview)? Or is it even possible to have like border radius, or even just the width of the border customizable? The default border looks like a double border when focus is set to the element. <img width="440" alt="image" src="https://github.com/user-attachments/assets/4af19eaa-4d06-4aa0-8b10-44f838939c44" />
kerem closed this issue 2026-03-04 01:07:38 +03:00
Author
Owner

@ayn2op commented on GitHub (Dec 29, 2024):

https://pkg.go.dev/github.com/rivo/tview#Borders

<!-- gh-comment-id:2564788998 --> @ayn2op commented on GitHub (Dec 29, 2024): https://pkg.go.dev/github.com/rivo/tview#Borders
Author
Owner

@Srijan619 commented on GitHub (Dec 29, 2024):

Thanks.. This was helpful.

<!-- gh-comment-id:2564827109 --> @Srijan619 commented on GitHub (Dec 29, 2024): Thanks.. This was helpful.
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#774
No description provided.