OCGV: Add ability to minimize UI
See original GitHub issueThe window border, filter box, and status bar use valuable screen real estate. I’d like to have an option of not having it visible.
I considered having parameters for all of them:
-NoFrame
-NoFilter
-NoStatusBar
But that seems overkill. Instead, just:
-MinUI
I just pushed a change to Terminal.Gui that will enable hiding the statusbar. Then all that’s needed is to change the logic that creates the Window
to:
private Window AddTopLevelWindow()
{
// Creates the top-level window to show
var win = new Window(_applicationData.Title)
{
X = _applicationData.MinUi ? -1 : 0,
Y = _applicationData.MinUi ? -1 : 0,
// By using Dim.Fill(), it will automatically resize without manual intervention
Width = Dim.Fill(_applicationData.MinUi ? -1 : 0),
Height = Dim.Fill(_applicationData.MinUi ? -1 : 1)
};
Application.Top.Add(win);
return win;
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Ability to Minimize Combat/Battle UI - Humankind
A little under 40% of my screen is hidden by UI that COULD be simplified down with a minimize button. What I am...
Read more >JQuery UI dialog - need to add a minimize button
My goal is to add a minimize button next to the close button, which if clicked minimizes the dialog (bar remains visible, everything...
Read more >ACF 6.0 Release – A Fresh New UI, Block Improvements ...
ACF 6.0 includes a new plugin UI refresh for both ACF 6.0 and ACF PRO 6.0, pagination for repeater fields with large amounts...
Read more >PSA - Hide and Resize UI Elements : r/ffxiv
You can right click a selected UI element in edit mode to hide it (I hid Inventory Grid) and you can also CTRL+Home...
Read more >How to minimize a window?
You can place your mouse over the title bar of any window and right click then select minimize. (not in eOS 5.1). Any...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Actually, I would love the -NoFrame, -NoFilter, and -NoStatusBar that were proposed. I very frequently desire some of those but not others.
I’m not married to the name
HideUIElement
but I do think this kind of parameter seems pretty cool. I like addingAll
andNone
whereNone
is the default value.