|
6 | 6 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
7 | 7 | xmlns:ui="http://schemas.modernwpf.com/2019"
|
8 | 8 | Title="{DynamicResource fileManagerWindow}"
|
9 |
| - Width="500" |
10 |
| - Height="420" |
| 9 | + Width="600" |
| 10 | + Height="500" |
11 | 11 | Background="#f3f3f3"
|
12 | 12 | DataContext="{Binding RelativeSource={RelativeSource Self}}"
|
13 | 13 | ResizeMode="NoResize"
|
|
67 | 67 | HorizontalAlignment="Stretch"
|
68 | 68 | DataContext="{Binding CustomExplorer}"
|
69 | 69 | Orientation="Horizontal">
|
70 |
| - <Grid Width="430"> |
| 70 | + <Grid Width="500"> |
71 | 71 | <Grid.ColumnDefinitions>
|
72 |
| - <ColumnDefinition Width="100" /> |
| 72 | + <ColumnDefinition Width="250" /> |
73 | 73 | <ColumnDefinition />
|
74 | 74 | </Grid.ColumnDefinitions>
|
75 | 75 | <Grid.RowDefinitions>
|
76 | 76 | <RowDefinition Height="50" />
|
77 | 77 | <RowDefinition />
|
| 78 | + <RowDefinition /> |
78 | 79 | </Grid.RowDefinitions>
|
79 | 80 | <TextBlock Grid.Row="0"
|
80 | 81 | Grid.Column="0"
|
|
104 | 105 | </TextBox>
|
105 | 106 | <TextBlock Grid.Row="1"
|
106 | 107 | Grid.Column="0"
|
107 |
| - Margin="14,0,0,0" |
| 108 | + Margin="14,15,0,0" |
108 | 109 | HorizontalAlignment="Left"
|
109 | 110 | VerticalAlignment="Center"
|
110 | 111 | FontSize="14"
|
111 | 112 | Text="{DynamicResource fileManager_directory_arg}" />
|
112 | 113 | <TextBox Grid.Row="1"
|
113 | 114 | Grid.Column="1"
|
114 | 115 | Width="Auto"
|
115 |
| - Margin="10,0,15,0" |
| 116 | + Margin="10,15,15,0" |
116 | 117 | HorizontalAlignment="Stretch"
|
117 | 118 | VerticalAlignment="Center"
|
| 119 | + IsEnabled="{Binding Editable}" |
118 | 120 | Text="{Binding DirectoryArgument}">
|
119 | 121 | <TextBox.Style>
|
120 | 122 | <Style TargetType="TextBox">
|
|
127 | 129 | </Style>
|
128 | 130 | </TextBox.Style>
|
129 | 131 | </TextBox>
|
130 |
| - <TextBlock Grid.Row="1" |
| 132 | + <TextBlock Grid.Row="2" |
131 | 133 | Grid.Column="0"
|
132 |
| - Margin="14,0,0,0" |
| 134 | + Margin="14,15,0,0" |
133 | 135 | HorizontalAlignment="Left"
|
134 | 136 | VerticalAlignment="Center"
|
135 | 137 | FontSize="14"
|
136 |
| - Text="{DynamicResource fileManager_directory_arg}" /> |
137 |
| - <TextBox Grid.Row="1" |
| 138 | + Text="{DynamicResource fileManager_file_arg}" /> |
| 139 | + <TextBox Grid.Row="2" |
138 | 140 | Grid.Column="1"
|
139 | 141 | Width="Auto"
|
140 |
| - Margin="10,0,15,0" |
| 142 | + Margin="10,15,15,0" |
141 | 143 | HorizontalAlignment="Stretch"
|
142 | 144 | VerticalAlignment="Center"
|
| 145 | + IsEnabled="{Binding Editable}" |
143 | 146 | Text="{Binding FileArgument}">
|
144 | 147 | <TextBox.Style>
|
145 | 148 | <Style TargetType="TextBox">
|
|
162 | 165 | Width="100"
|
163 | 166 | Height="30"
|
164 | 167 | Margin="0,0,5,0"
|
165 |
| - Content="{DynamicResource cancel}" |
166 |
| - Click="btnCancel_Click"/> |
| 168 | + Click="btnCancel_Click" |
| 169 | + Content="{DynamicResource cancel}" /> |
167 | 170 | <Button x:Name="btnDone"
|
168 | 171 | Width="100"
|
169 | 172 | Height="30"
|
170 | 173 | Margin="5,0,0,0"
|
171 |
| - Content="{DynamicResource done}" |
172 | 174 | Click="btnDone_Click"
|
173 |
| - /> |
| 175 | + Content="{DynamicResource done}" /> |
174 | 176 | </StackPanel>
|
175 | 177 | </Grid>
|
176 | 178 | </Window>
|
0 commit comments