mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Fixed subview layout (#159)
This commit is contained in:
committed by
Miguel de Icaza
parent
7f94997803
commit
740ee36ecc
@@ -473,6 +473,7 @@ namespace Terminal.Gui {
|
||||
view.container = this;
|
||||
if (view.CanFocus)
|
||||
CanFocus = true;
|
||||
SetNeedsLayout ();
|
||||
SetNeedsDisplay ();
|
||||
}
|
||||
|
||||
@@ -513,6 +514,7 @@ namespace Terminal.Gui {
|
||||
if (view == null || subviews == null)
|
||||
return;
|
||||
|
||||
SetNeedsLayout ();
|
||||
SetNeedsDisplay ();
|
||||
var touched = view.Frame;
|
||||
subviews.Remove (view);
|
||||
|
||||
Reference in New Issue
Block a user