Skip to content

Commit 4ac517e

Browse files
committed
feat: constraint resizing & minimizing of popups
1 parent 1cf3e18 commit 4ac517e

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

Desktop/Tasks/TaskCreation.xaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
xmlns:converters="clr-namespace:Desktop.Tasks.Converters"
77
mc:Ignorable="d"
88
x:Name="TaskCreationWindow"
9-
Title="Task creation" Height="{StaticResource PopupWindowHeight}" Width="{StaticResource PopupWindowWidth}"
9+
Title="Task creation"
10+
Height="{StaticResource PopupWindowHeight}"
11+
Width="{StaticResource PopupWindowWidth}"
12+
ResizeMode="NoResize"
1013
Icon="..\Resources\Add.ico"
1114
WindowStartupLocation="CenterScreen">
1215
<Window.Resources>

Desktop/Tasks/TaskEditing.xaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
55
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
66
mc:Ignorable="d"
7-
Title="Task editing" Height="{StaticResource PopupWindowHeight}" Width="{StaticResource PopupWindowWidth}"
7+
Title="Task editing"
8+
Height="{StaticResource PopupWindowHeight}"
9+
Width="{StaticResource PopupWindowWidth}"
10+
ResizeMode="NoResize"
811
Icon="..\Resources\Edit.ico"
912
WindowStartupLocation="CenterScreen">
1013
<Grid FocusManager.FocusedElement="{Binding ElementName=Name}" Margin="{StaticResource DefaultMargin}">

0 commit comments

Comments
 (0)