aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-08-23 10:31:14 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2016-09-01 12:44:39 +0200
commit8e0a800f3fdec3ce0815ac797f365837eec67d30 (patch)
treec008ea59763de8a708619048bb3b09b7a8748e2e /src/GraphicObjects
parente270b1803ed482c6f6346696ffbf568580c50ab7 (diff)
rename propless bind Orientation=>PopDirection in menu, update examples
Diffstat (limited to 'src/GraphicObjects')
-rw-r--r--src/GraphicObjects/Menu.cs4
-rw-r--r--src/GraphicObjects/MenuItem.cs2
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)