File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 112
112
</TreeView >
113
113
<materialDesign : PopupBox Grid.Row=" 1"
114
114
Style =" {StaticResource MaterialDesignMultiFloatingActionPopupBox}"
115
- PlacementMode =" LeftAndAlignTopEdges"
116
- ToolTipService.Placement=" Bottom"
115
+ PlacementMode =" LeftAndAlignMiddles"
117
116
ToolTip =" Manage items"
118
117
Margin =" 0 0 10 10"
119
118
HorizontalAlignment =" Right" VerticalAlignment =" Bottom" >
120
- <StackPanel >
119
+ <StackPanel Orientation = " Horizontal " >
121
120
<Button ToolTip =" Add an item"
122
121
Command =" {Binding AddCommand}" >
123
122
<Path Data =" M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"
Original file line number Diff line number Diff line change @@ -242,7 +242,9 @@ private static void IsPopupOpenPropertyChangedCallback(DependencyObject dependen
242
242
}
243
243
244
244
if ( newValue )
245
- popupBox . AnimateChildren ( ) ;
245
+ popupBox . AnimateChildren ( ) ;
246
+
247
+ popupBox . _popup ? . RefreshPosition ( ) ;
246
248
247
249
VisualStateManager . GoToState ( popupBox , newValue ? PopupIsOpenStateName : PopupIsClosedStateName , true ) ;
248
250
}
You can’t perform that action at this time.
0 commit comments