diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-08-23 10:31:14 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-09-01 12:44:39 +0200 |
| commit | 8e0a800f3fdec3ce0815ac797f365837eec67d30 (patch) | |
| tree | c008ea59763de8a708619048bb3b09b7a8748e2e /src/GraphicObjects | |
| parent | e270b1803ed482c6f6346696ffbf568580c50ab7 (diff) | |
rename propless bind Orientation=>PopDirection in menu, update examples
Diffstat (limited to 'src/GraphicObjects')
| -rw-r--r-- | src/GraphicObjects/Menu.cs | 4 | ||||
| -rw-r--r-- | src/GraphicObjects/MenuItem.cs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/GraphicObjects/Menu.cs b/src/GraphicObjects/Menu.cs index 561db65c..f3759c68 100644 --- a/src/GraphicObjects/Menu.cs +++ b/src/GraphicObjects/Menu.cs @@ -48,9 +48,9 @@ namespace Crow base.AddItem (g); if (orientation == Orientation.Horizontal) - g.NotifyValueChanged ("Orientation", Alignment.Bottom); + g.NotifyValueChanged ("PopDirection", Alignment.Bottom); else - g.NotifyValueChanged ("Orientation", Alignment.Right); + g.NotifyValueChanged ("PopDirection", Alignment.Right); } } } diff --git a/src/GraphicObjects/MenuItem.cs b/src/GraphicObjects/MenuItem.cs index decdf142..9055fc5b 100644 --- a/src/GraphicObjects/MenuItem.cs +++ b/src/GraphicObjects/MenuItem.cs @@ -72,7 +72,7 @@ namespace Crow public override void AddItem (GraphicObject g) { base.AddItem (g); - g.NotifyValueChanged ("Orientation", Alignment.Right); + g.NotifyValueChanged ("PopDirection", Alignment.Right); } void onMI_Click (object sender, MouseButtonEventArgs e) |