mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Fix FileDialog panels to allow focus on child views
Co-authored-by: tig <585482+tig@users.noreply.github.com>
This commit is contained in:
@@ -159,7 +159,7 @@ public class FileDialog : Dialog, IDesignable
|
||||
Width = 30,
|
||||
Height = Dim.Fill (Dim.Func (_ => IsInitialized ? _btnOk.Frame.Height : 1)),
|
||||
Visible = false,
|
||||
CanFocus = false,
|
||||
CanFocus = true,
|
||||
TabStop = TabBehavior.NoStop,
|
||||
Arrangement = ViewArrangement.Resizable
|
||||
};
|
||||
@@ -172,7 +172,7 @@ public class FileDialog : Dialog, IDesignable
|
||||
Y = Pos.Bottom (_btnBack),
|
||||
Width = Dim.Fill (),
|
||||
Height = Dim.Fill (Dim.Func (_ => IsInitialized ? _btnOk.Frame.Height : 1)),
|
||||
CanFocus = false,
|
||||
CanFocus = true,
|
||||
TabStop = TabBehavior.NoStop
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user