Status bar snap (#384)

* KeyDown/Up support

* updated demo

* defined styles

* Smarter StatusBar bottom tracking.

* Prepping for https://github.com/migueldeicaza/gui.cs/issues/376

* Fixed StatusBar 'snap to bottom'
This commit is contained in:
Charlie Kindel
2020-04-20 14:08:34 -06:00
committed by GitHub
parent ab91de5041
commit 5df8500862
4 changed files with 115 additions and 903 deletions

View File

@@ -551,7 +551,9 @@ static class Demo {
new StatusItem(Key.F2, "~F2~ Load", null),
new StatusItem(Key.F3, "~F3~ Save", null),
new StatusItem(Key.ControlX, "~^X~ Quit", () => { if (Quit ()) top.Running = false; }),
});
}) {
Parent = null,
};
win.Add (drag, dragText);
#if true
@@ -570,6 +572,7 @@ static class Demo {
};
#endif
top.Add (win);
//top.Add (menu);
top.Add (menu, statusBar);