-
Notifications
You must be signed in to change notification settings - Fork 695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some scenarios with MenuBar
or StatusBar
needs to fix Window position.
#3781
Comments
Fixed in #3766 |
All of them? |
I only opened this issue due to your comment here #3766 (comment). |
Yessir. |
I appreciate it! |
You didn't fix in the ASCIICustomButtonTest scenario. to: _scrollViewTestWindow = new ScrollViewTestWindow { Y = Pos.Bottom (menu) }; Change this two lines: to: private FrameView _border = new ();
private Label _fill = new (); You also didn't fix the scenarios below. ClassExplorer _top = new()
{
Title = "_top", Width = Dim.Fill (), Height = Dim.Fill (),
Modal = true
}; WizardAsView |
You're gonna have to fix SingleBackgroundWorker. I can't figure out how its supposed to work. I've fixed the rest, I think. |
The solution is define that it's mandatory to setup the views layout at design time. For now a
MenuBar
andStatusBar
has a height of 1, but if it's changed in the future, then theWindow
must be layout withY = Pos.Bottom(menuBar)
,Height = Dim.Fill(Dim.Func (() => statusBar.Frame.Height))
. In this case we need to change the current layout in the scenarios.Originally posted by @BDisp in #3766 (comment)
The text was updated successfully, but these errors were encountered: