File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ public NotificationsMenuItem(Notifications.NotificationsViewExtension notificati
24
24
{
25
25
//create a window to display the list of notificationsModels
26
26
var window = new NotificationsView ( notificationsExtension ) ;
27
+ window . Owner = notificationsExtension . dynamoWindow ;
28
+ window . WindowStartupLocation = WindowStartupLocation . CenterOwner ;
27
29
window . Show ( ) ;
28
30
} ;
29
31
@@ -42,7 +44,7 @@ public NotificationsMenuItem(Notifications.NotificationsViewExtension notificati
42
44
//create our icon
43
45
var color = new SolidColorBrush ( Colors . LightGray ) ;
44
46
this . imageicon . Source = FontAwesome . WPF . ImageAwesome . CreateImageSource ( FontAwesome . WPF . FontAwesomeIcon . ExclamationCircle , color ) ;
45
-
47
+
46
48
//create some bindings
47
49
//attach the visibility of the badge and menuItems enabledState to the number of notifications without a binding...
48
50
You can’t perform that action at this time.
0 commit comments