You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When explicitly setting the Arrangement.Fixed property, the window content is not properly drawn. This issue becomes noticeable when interacting with modals or draggable elements within the window.
To Reproduce
Steps to reproduce the behavior:
Set Window's Arrangement to ViewArrangement.Fixed;
Add a button
Open a MessageBox.Query on the button click
Move the modal around and see the bug
Screenshots
Expected behavior
Desktop:
OS: Window
Version: 10
Code
internal class MainWindow : Window
{
public MainWindow()
{
this.Width = Dim.Fill();
this.Height = Dim.Fill();
this.Arrangement = ViewArrangement.Fixed;
var button = new Button()
{
Text = "Click me",
X = Pos.Center(),
Y = Pos.Center()
};
button.Accepting += (sender, e) =>
{
MessageBox.Query("Accepted", "You clicked the button", "Ok");
};
Add(button);
}
}
The text was updated successfully, but these errors were encountered:
Describe the bug
When explicitly setting the Arrangement.Fixed property, the window content is not properly drawn. This issue becomes noticeable when interacting with modals or draggable elements within the window.
To Reproduce
Steps to reproduce the behavior:
Screenshots
Expected behavior
Desktop:
Code
The text was updated successfully, but these errors were encountered: