[GH-ISSUE #374] [Question] Why fullscreen is not a Box property? #275

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

Originally created by @abitrolly on GitHub (Nov 28, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/374

It is not obvious that bool argument to app.SetRoot(list, true) is fullscreen flag. Maybe it is better to maintain it as a Box property and init with tview.Box().SetFullScreen(true)?

Originally created by @abitrolly on GitHub (Nov 28, 2019). Original GitHub issue: https://github.com/rivo/tview/issues/374 It is not obvious that bool argument to `app.SetRoot(list, true)` is `fullscreen` flag. Maybe it is better to maintain it as a Box property and init with `tview.Box().SetFullScreen(true)`?
kerem closed this issue 2026-03-04 01:03:33 +03:00
Author
Owner

@rivo commented on GitHub (Nov 29, 2019):

tview is not like HTML where every element decides what size it is. It's a top-down layout. So if there's only one primitive, it's the application itself that makes it full-screen.

<!-- gh-comment-id:559676036 --> @rivo commented on GitHub (Nov 29, 2019): `tview` is not like HTML where every element decides what size it is. It's a top-down layout. So if there's only one primitive, it's the application itself that makes it full-screen.
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#275
No description provided.