mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 03:36:44 +02:00
[ScreenRuler]Add setting to show the measurement in an extra unit (#35887)
* display ruler: supporting millimeter and other units * Measurement Tool: UI Setting for an extra unit * Update images * spelling * spelling * suit code style * Fix for code review * remove weird file * rename field
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 403 KiB After Width: | Height: | Size: 599 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 59 KiB |
@@ -64,13 +64,14 @@
|
||||
Value="{x:Bind ViewModel.PixelTolerance, Mode=TwoWay}" />
|
||||
</tkcontrols:SettingsCard>
|
||||
|
||||
<!--<tkcontrols:SettingsCard x:Uid="MeasureTool_UnitsOfMeasure" HeaderIcon="{ui:FontIcon Glyph=}">
|
||||
<ComboBox SelectedIndex="{x:Bind Path=ViewModel.UnitsOfMeasure, Mode=TwoWay}" MinWidth="{StaticResource SettingActionControlMinWidth}">
|
||||
<tkcontrols:SettingsCard x:Uid="MeasureTool_UnitsOfMeasure" HeaderIcon="{ui:FontIcon Glyph=}">
|
||||
<ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind Path=ViewModel.UnitsOfMeasure, Mode=TwoWay}">
|
||||
<ComboBoxItem x:Uid="MeasureTool_UnitsOfMeasure_Pixels" />
|
||||
<ComboBoxItem x:Uid="MeasureTool_UnitsOfMeasure_Inches" />
|
||||
<ComboBoxItem x:Uid="MeasureTool_UnitsOfMeasure_Centimeters" />
|
||||
<ComboBoxItem x:Uid="MeasureTool_UnitsOfMeasure_Millimeters" />
|
||||
</ComboBox>
|
||||
</tkcontrols:SettingsCard>-->
|
||||
</tkcontrols:SettingsCard>
|
||||
|
||||
<tkcontrols:SettingsCard x:Uid="MeasureTool_DrawFeetOnCross">
|
||||
<ToggleSwitch x:Uid="MeasureTool_DrawFeetOnCross_ToggleSwitch" IsOn="{x:Bind ViewModel.DrawFeetOnCross, Mode=TwoWay}" />
|
||||
|
||||
@@ -177,10 +177,10 @@
|
||||
<value>Vertical spacing</value>
|
||||
</data>
|
||||
<data name="MeasureTool_UnitsOfMeasure.Header" xml:space="preserve">
|
||||
<value>Units of measurement</value>
|
||||
<value>Extra units of measurement</value>
|
||||
</data>
|
||||
<data name="MeasureTool_UnitsOfMeasure_Pixels.Content" xml:space="preserve">
|
||||
<value>Pixels</value>
|
||||
<value>Show only pixels</value>
|
||||
</data>
|
||||
<data name="MeasureTool_UnitsOfMeasure_Inches.Content" xml:space="preserve">
|
||||
<value>Inches</value>
|
||||
@@ -188,6 +188,9 @@
|
||||
<data name="MeasureTool_UnitsOfMeasure_Centimeters.Content" xml:space="preserve">
|
||||
<value>Centimeters</value>
|
||||
</data>
|
||||
<data name="MeasureTool_UnitsOfMeasure_Millimeters.Content" xml:space="preserve">
|
||||
<value>Millimeters</value>
|
||||
</data>
|
||||
<data name="MeasureTool_PixelTolerance.Header" xml:space="preserve">
|
||||
<value>Pixel tolerance for edge detection</value>
|
||||
</data>
|
||||
|
||||
Reference in New Issue
Block a user