question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OCGV: Add ability to minimize UI

See original GitHub issue

The 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:closed
  • Created 3 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
rokejulianlockhartcommented, Aug 24, 2022

Actually, I would love the -NoFrame, -NoFilter, and -NoStatusBar that were proposed. I very frequently desire some of those but not others.

1reaction
TylerLeonhardtcommented, Oct 15, 2020

I’m not married to the name HideUIElement but I do think this kind of parameter seems pretty cool. I like adding All and None where None is the default value.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found