mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #829] Is there a simple way to switch whether the widget in flex is fullscreen in flex? #602
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#602
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sunyuechi on GitHub (Mar 23, 2023).
Original GitHub issue: https://github.com/rivo/tview/issues/829
I didn't find an easy way, so when I have two widgets, I do this, but if I add more widgets, the judgment seems to be troublesome.
Another related question is I want to get Proportion, but didn't find a way..
@rivo commented on GitHub (Mar 25, 2023):
To be honest, I don't really understand what you're trying to achieve. Maybe you'll want to provide a graphic which illustrates the layout you're trying to create, along with more detailed explanations? From the code you provided, I don't know what the goal is.
Given the title of this issue, I can say that no, there is no simple way in
Flexto switch to full-screen. I would suggest that you use aPageselement which contains the element to be "magnified" and temporarily put it in the front.@sunyuechi commented on GitHub (Mar 26, 2023):
@rivo Sorry for not expressing clearly, what I think is, when I create a flex layout, add some items into it, and then focus on any of the items, can this part be simply full screen
for example, when I focus sidebar or conversation or inputField , I want to toggle whether it is full screen or not