Skip to content

Commit dc1bf53

Browse files
authored
Added a tooltip with the path for pinned items on the sidebar (#2365)
1 parent 7996c7f commit dc1bf53

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Files/Strings/hu-HU/Resources.resw

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,4 +1086,7 @@
10861086
<data name="SettingsFilesAndFoldersShowHiddenItems.AutomationProperties.Name" xml:space="preserve">
10871087
<value>Rejtett fájlok és mappák mutatása</value>
10881088
</data>
1089+
<data name="EjectNotificationHeader" xml:space="preserve">
1090+
<value>A hardware eltávolítása biztonságos</value>
1091+
</data>
10891092
</root>

Files/UserControls/SidebarControl.xaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@
5555
Drop="NavigationViewLocationItem_Drop"
5656
IsRightTapEnabled="True"
5757
RightTapped="NavigationViewLocationItem_RightTapped"
58-
Tag="{x:Bind Path}">
58+
Tag="{x:Bind Path}"
59+
ToolTipService.ToolTip="{x:Bind Path}">
5960
<muxc:NavigationViewItem.Icon>
6061
<FontIcon
6162
FontFamily="{x:Bind Font}"
@@ -79,7 +80,7 @@
7980
IsRightTapEnabled="True"
8081
RightTapped="NavigationViewDriveItem_RightTapped"
8182
Tag="{x:Bind Path}"
82-
ToolTipService.ToolTip="{x:Bind SpaceText, Mode=OneWay}"
83+
ToolTipService.ToolTip="{x:Bind Path, Mode=OneWay}"
8384
Visibility="{x:Bind ItemVisibility}">
8485
<muxc:NavigationViewItem.Icon>
8586
<FontIcon
@@ -98,7 +99,8 @@
9899
DataContext="{x:Bind}"
99100
DragEnter="NavigationViewItem_DragEnter"
100101
DragLeave="NavigationViewItem_DragLeave"
101-
Tag="{x:Bind Path}">
102+
Tag="{x:Bind Path}"
103+
ToolTipService.ToolTip="{x:Bind Path, Mode=OneWay}">
102104
<muxc:NavigationViewItem.Icon>
103105
<BitmapIcon
104106
Width="30"

0 commit comments

Comments
 (0)