Skip to content

Commit 9e39f24

Browse files
authored
Feature: Added media file resolution to the details pane (#11402)
1 parent 6f95b3f commit 9e39f24

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

src/Files.App/Resources/PreviewPanePropertiesInformation.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,22 @@
192192
"DisplayFunctionName": "FormatDuration",
193193
"ID": null
194194
},
195+
{
196+
"NameResource": "Width",
197+
"SectionResource": "PropertySectionMedia",
198+
"Property": "System.Video.FrameWidth",
199+
"IsReadOnly": true,
200+
"DisplayFunctionName": "FrameWidth",
201+
"ID": null
202+
},
203+
{
204+
"NameResource": "Height",
205+
"SectionResource": "PropertySectionMedia",
206+
"Property": "System.Video.FrameHeight",
207+
"IsReadOnly": true,
208+
"DisplayFunctionName": "FrameHeight",
209+
"ID": null
210+
},
195211
{
196212
"NameResource": "PropertyProtectionType",
197213
"SectionResource": "PropertySectionMedia",

src/Files.App/Strings/en-US/Resources.resw

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2970,6 +2970,12 @@
29702970
<data name="PlayAll" xml:space="preserve">
29712971
<value>Play all</value>
29722972
</data>
2973+
<data name="Height" xml:space="preserve">
2974+
<value>Height</value>
2975+
</data>
2976+
<data name="Width" xml:space="preserve">
2977+
<value>Width</value>
2978+
</data>
29732979
<data name="ApplyToAllConflictingItems" xml:space="preserve">
29742980
<value>Apply this action to all conflicting items</value>
29752981
</data>

0 commit comments

Comments
 (0)